#[repr(u64)]pub enum MessageNotificationLevel {
AllMessages = 0,
OnlyMentions = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MessageNotificationLevel
impl Clone for MessageNotificationLevel
Source§fn clone(&self) -> MessageNotificationLevel
fn clone(&self) -> MessageNotificationLevel
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 Debug for MessageNotificationLevel
impl Debug for MessageNotificationLevel
impl Copy for MessageNotificationLevel
Auto Trait Implementations§
impl Freeze for MessageNotificationLevel
impl RefUnwindSafe for MessageNotificationLevel
impl Send for MessageNotificationLevel
impl Sync for MessageNotificationLevel
impl Unpin for MessageNotificationLevel
impl UnwindSafe for MessageNotificationLevel
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