pub enum PresenceEventType {
Join,
Leave,
Update,
}Variants§
Trait Implementations§
Source§impl Clone for PresenceEventType
impl Clone for PresenceEventType
Source§fn clone(&self) -> PresenceEventType
fn clone(&self) -> PresenceEventType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PresenceEventType
impl Debug for PresenceEventType
Source§impl<'de> Deserialize<'de> for PresenceEventType
impl<'de> Deserialize<'de> for PresenceEventType
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 PresenceEventType
impl PartialEq for PresenceEventType
Source§fn eq(&self, other: &PresenceEventType) -> bool
fn eq(&self, other: &PresenceEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PresenceEventType
impl Serialize for PresenceEventType
impl Copy for PresenceEventType
impl Eq for PresenceEventType
impl StructuralPartialEq for PresenceEventType
Auto Trait Implementations§
impl Freeze for PresenceEventType
impl RefUnwindSafe for PresenceEventType
impl Send for PresenceEventType
impl Sync for PresenceEventType
impl Unpin for PresenceEventType
impl UnsafeUnpin for PresenceEventType
impl UnwindSafe for PresenceEventType
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