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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
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.