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 state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

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.