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
detect_platform_accounts: bool
developer_mode: bool
enable_tts_command: bool
inline_attachment_media: bool
inline_embed_media: bool
locale: String
message_display_compact: bool
render_embeds: bool
server_positions: Vec<ServerId>
show_current_game: bool
status: String
theme: String
convert_emoticons: bool
friend_source_flags: FriendSourceFlags
restricted_servers: Vec<ServerId>
Servers whose members cannot private message this user.
Methods
impl UserSettings
[src]
fn decode(value: Value) -> Result<Option<UserSettings>>
Trait Implementations
impl Debug for UserSettings
[src]
impl Clone for UserSettings
[src]
fn clone(&self) -> UserSettings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more