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

15 lines
447 B
Rust

//! # 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>,
}