pub enum UserPresence {
Online,
Idle,
Busy,
Invisible,
}Expand description
User presence
Variants§
Trait Implementations§
Source§impl Clone for UserPresence
impl Clone for UserPresence
Source§fn clone(&self) -> UserPresence
fn clone(&self) -> UserPresence
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 UserPresence
impl Debug for UserPresence
Source§impl<'de> Deserialize<'de> for UserPresence
impl<'de> Deserialize<'de> for UserPresence
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 Hash for UserPresence
impl Hash for UserPresence
Source§impl Ord for UserPresence
impl Ord for UserPresence
Source§fn cmp(&self, other: &UserPresence) -> Ordering
fn cmp(&self, other: &UserPresence) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserPresence
impl PartialEq for UserPresence
Source§impl PartialOrd for UserPresence
impl PartialOrd for UserPresence
Source§impl Serialize for UserPresence
impl Serialize for UserPresence
impl Eq for UserPresence
impl StructuralPartialEq for UserPresence
Auto Trait Implementations§
impl Freeze for UserPresence
impl RefUnwindSafe for UserPresence
impl Send for UserPresence
impl Sync for UserPresence
impl Unpin for UserPresence
impl UnwindSafe for UserPresence
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