Enum rust_chain::structs::UserPresence
source · [−]pub enum UserPresence {
None,
Present,
Verified,
}Expand description
Variants
None
Present
Verified
Trait Implementations
sourceimpl Clone for UserPresence
impl Clone for UserPresence
sourcefn clone(&self) -> UserPresence
fn clone(&self) -> UserPresence
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Default for UserPresence
impl Default for UserPresence
sourceimpl Packer for UserPresence
impl Packer for UserPresence
sourceimpl PartialEq<UserPresence> for UserPresence
impl PartialEq<UserPresence> for UserPresence
sourcefn eq(&self, other: &UserPresence) -> bool
fn eq(&self, other: &UserPresence) -> bool
sourceimpl TypeInfo for UserPresence
impl TypeInfo for UserPresence
impl Copy for UserPresence
impl Eq for UserPresence
impl StructuralEq for UserPresence
impl StructuralPartialEq for UserPresence
Auto Trait Implementations
impl RefUnwindSafe for UserPresence
impl Send for UserPresence
impl Sync for UserPresence
impl Unpin for UserPresence
impl UnwindSafe for UserPresence
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.