Struct discord::model::UserServerSettings
[−]
[src]
pub struct UserServerSettings {
pub server_id: Option<ServerId>,
pub message_notifications: NotificationLevel,
pub mobile_push: bool,
pub muted: bool,
pub suppress_everyone: bool,
pub channel_overrides: Vec<ChannelOverride>,
}User settings which influence per-server notification behavior
Fields
server_id: Option<ServerId>
message_notifications: NotificationLevel
mobile_push: bool
muted: bool
suppress_everyone: bool
channel_overrides: Vec<ChannelOverride>
Methods
impl UserServerSettings[src]
fn decode(value: Value) -> Result<UserServerSettings>
Trait Implementations
impl Debug for UserServerSettings[src]
impl Clone for UserServerSettings[src]
fn clone(&self) -> UserServerSettings
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