Enum discord::model::NotificationLevel [] [src]

pub enum NotificationLevel {
    All,
    Mentions,
    Nothing,
    Parent,
}

Notification level for a channel or server

Variants

All messages trigger a notification

Only @mentions trigger a notification

No messages, even @mentions, trigger a notification

Follow the parent's notification level

Methods

impl NotificationLevel
[src]

Trait Implementations

impl Copy for NotificationLevel
[src]

impl Clone for NotificationLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for NotificationLevel
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for NotificationLevel
[src]

impl PartialEq for NotificationLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for NotificationLevel
[src]

Formats the value using the given formatter.

impl Serialize for NotificationLevel
[src]

Serialize this value into the given Serde serializer. Read more

impl<'d> Deserialize<'d> for NotificationLevel
[src]

Deserialize this value from the given Serde deserializer. Read more