1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-03 17:38:50 +00:00
comunicapiv3/src/data/new_data_conservation_policy.rs

15 lines
447 B
Rust
Raw Normal View History

2021-02-15 18:29:43 +00:00
//! # New data conservation policy settings
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
pub struct NewDataConservationPolicy {
pub user_id: UserID,
pub delete_account_after: Option<u64>,
pub delete_notifications_after: Option<u64>,
pub delete_comments_after: Option<u64>,
pub delete_posts_after: Option<u64>,
pub delete_conversation_messages_after: Option<u64>,
pub delete_likes_after: Option<u64>,
}