Enum dasi::model::NotificationLevel [] [src]

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

A user's online presence status

Variants

All

All messages trigger a notification

Mentions

Only @mentions trigger a notification

Nothing

No messages, even @mentions, trigger a notification

Parent

Follow the parent's notification level

Methods

impl NotificationLevel

fn from_num(level: u64) -> Option<NotificationLevel>

Trait Implementations

Derived Implementations

impl Debug for NotificationLevel

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

impl PartialEq for NotificationLevel

fn eq(&self, __arg_0: &NotificationLevel) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Eq for NotificationLevel

impl Hash for NotificationLevel

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for NotificationLevel

fn clone(&self) -> NotificationLevel

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

impl Copy for NotificationLevel