Enum ably::rest::PresenceAction
source · #[repr(u8)]
pub enum PresenceAction {
Absent,
Present,
Enter,
Leave,
Update,
}
Variants
Absent
Present
Enter
Leave
Update
Trait Implementations
sourceimpl Clone for PresenceAction
impl Clone for PresenceAction
sourcefn clone(&self) -> PresenceAction
fn clone(&self) -> PresenceAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PresenceAction
impl Debug for PresenceAction
sourceimpl<'de> Deserialize<'de> for PresenceAction
impl<'de> Deserialize<'de> for PresenceAction
sourcefn 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
sourceimpl PartialEq<PresenceAction> for PresenceAction
impl PartialEq<PresenceAction> for PresenceAction
sourcefn eq(&self, other: &PresenceAction) -> bool
fn eq(&self, other: &PresenceAction) -> bool
sourceimpl Serialize for PresenceAction
impl Serialize for PresenceAction
impl Eq for PresenceAction
impl StructuralEq for PresenceAction
impl StructuralPartialEq for PresenceAction
Auto Trait Implementations
impl RefUnwindSafe for PresenceAction
impl Send for PresenceAction
impl Sync for PresenceAction
impl Unpin for PresenceAction
impl UnwindSafe for PresenceAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.