Struct dasi::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

fn decode(value: Value) -> Result<UserServerSettings>

Trait Implementations

Derived Implementations

impl Clone for UserServerSettings

fn clone(&self) -> UserServerSettings

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for UserServerSettings

fn fmt(&self, __arg_0: &mut Formatter) -> Result