Struct discord::model::UserServerSettings
[−]
[src]
pub struct UserServerSettings {
pub server_id: 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 | |
message_notifications | |
mobile_push | |
muted | |
suppress_everyone | |
channel_overrides |
Methods
impl UserServerSettings[src]
fn decode(value: Value) -> Result<UserServerSettings>
Trait Implementations
Derived Implementations
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