Struct discord::model::ChannelOverride [] [src]

pub struct ChannelOverride {
    pub channel_id: ChannelId,
    pub message_notifications: NotificationLevel,
    pub muted: bool,
}

A channel-specific notification settings override

Fields

channel_id
message_notifications
muted

Methods

impl ChannelOverride
[src]

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

Trait Implementations

Derived Implementations

impl Clone for ChannelOverride
[src]

fn clone(&self) -> ChannelOverride

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

impl Debug for ChannelOverride
[src]

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

Formats the value using the given formatter.