mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-01 00:18:50 +00:00
15 lines
447 B
Rust
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>,
|
|
} |