mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-04-18 10:30:53 +00:00
21 lines
562 B
Rust
21 lines
562 B
Rust
//! # General settings
|
|
//!
|
|
//! @author Pierre Hubert
|
|
|
|
use crate::data::user::{UserID, UserPageStatus};
|
|
|
|
pub struct GeneralSettings {
|
|
pub id: UserID,
|
|
pub first_name: String,
|
|
pub last_name: String,
|
|
pub page_status: UserPageStatus,
|
|
pub block_comments: bool,
|
|
pub allow_posts_from_friends: bool,
|
|
pub friends_list_public: bool,
|
|
pub email_public: bool,
|
|
pub personal_website: Option<String>,
|
|
pub virtual_directory: Option<String>,
|
|
pub allow_mails: bool,
|
|
pub public_note: Option<String>,
|
|
pub location: Option<String>,
|
|
} |