pub enum PresenceAction {
Join,
Leave,
Update,
}Expand description
Presence action types
Variants§
Trait Implementations§
Source§impl Clone for PresenceAction
impl Clone for PresenceAction
Source§fn clone(&self) -> PresenceAction
fn clone(&self) -> PresenceAction
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 PresenceAction
impl Debug for PresenceAction
Source§impl<'de> Deserialize<'de> for PresenceAction
impl<'de> Deserialize<'de> for PresenceAction
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 PresenceAction
impl PartialEq for PresenceAction
Source§impl Serialize for PresenceAction
impl Serialize for PresenceAction
impl Eq for PresenceAction
impl StructuralPartialEq for PresenceAction
Auto Trait Implementations§
impl Freeze for PresenceAction
impl RefUnwindSafe for PresenceAction
impl Send for PresenceAction
impl Sync for PresenceAction
impl Unpin for PresenceAction
impl UnwindSafe for PresenceAction
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