#[repr(u8)]pub enum DefaultMessageNotificationLevel {
ALL_MESSAGES = 0,
ONLY_MENTIONS = 1,
}Expand description
Variants§
ALL_MESSAGES = 0
members will receive notifications for all messages by default
ONLY_MENTIONS = 1
members will receive notifications only for messages that @mention them by default
Trait Implementations§
Source§impl Clone for DefaultMessageNotificationLevel
impl Clone for DefaultMessageNotificationLevel
Source§fn clone(&self) -> DefaultMessageNotificationLevel
fn clone(&self) -> DefaultMessageNotificationLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DefaultMessageNotificationLevel
impl<'de> Deserialize<'de> for DefaultMessageNotificationLevel
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DefaultMessageNotificationLevel
impl PartialEq for DefaultMessageNotificationLevel
Source§fn eq(&self, other: &DefaultMessageNotificationLevel) -> bool
fn eq(&self, other: &DefaultMessageNotificationLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DefaultMessageNotificationLevel
impl Eq for DefaultMessageNotificationLevel
impl StructuralPartialEq for DefaultMessageNotificationLevel
Auto Trait Implementations§
impl Freeze for DefaultMessageNotificationLevel
impl RefUnwindSafe for DefaultMessageNotificationLevel
impl Send for DefaultMessageNotificationLevel
impl Sync for DefaultMessageNotificationLevel
impl Unpin for DefaultMessageNotificationLevel
impl UnwindSafe for DefaultMessageNotificationLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more