pub struct PresenceVersion(pub u64);Expand description
Version within one participant’s presence-evidence stream.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for PresenceVersion
impl Clone for PresenceVersion
Source§fn clone(&self) -> PresenceVersion
fn clone(&self) -> PresenceVersion
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 PresenceVersion
impl Debug for PresenceVersion
Source§impl Hash for PresenceVersion
impl Hash for PresenceVersion
Source§impl Ord for PresenceVersion
impl Ord for PresenceVersion
Source§fn cmp(&self, other: &PresenceVersion) -> Ordering
fn cmp(&self, other: &PresenceVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PresenceVersion
impl PartialEq for PresenceVersion
Source§impl PartialOrd for PresenceVersion
impl PartialOrd for PresenceVersion
impl Copy for PresenceVersion
impl Eq for PresenceVersion
impl StructuralPartialEq for PresenceVersion
Auto Trait Implementations§
impl Freeze for PresenceVersion
impl RefUnwindSafe for PresenceVersion
impl Send for PresenceVersion
impl Sync for PresenceVersion
impl Unpin for PresenceVersion
impl UnsafeUnpin for PresenceVersion
impl UnwindSafe for PresenceVersion
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