Struct discord::model::UserSettings [] [src]

pub struct UserSettings {
    pub detect_platform_accounts: bool,
    pub developer_mode: bool,
    pub enable_tts_command: bool,
    pub inline_attachment_media: bool,
    pub inline_embed_media: bool,
    pub locale: String,
    pub message_display_compact: bool,
    pub render_embeds: bool,
    pub server_positions: Vec<ServerId>,
    pub show_current_game: bool,
    pub status: String,
    pub theme: String,
    pub convert_emoticons: bool,
    pub friend_source_flags: FriendSourceFlags,
    pub restricted_servers: Vec<ServerId>,
}

User settings usually used to influence client behavior

Fields

Servers whose members cannot private message this user.

Methods

impl UserSettings
[src]

Trait Implementations

impl Debug for UserSettings
[src]

Formats the value using the given formatter.

impl Clone for UserSettings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more