pub struct DataVersion(pub u64);Expand description
Version tracker for data mutations
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for DataVersion
impl Clone for DataVersion
Source§fn clone(&self) -> DataVersion
fn clone(&self) -> DataVersion
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 DataVersion
impl Debug for DataVersion
Source§impl Hash for DataVersion
impl Hash for DataVersion
Source§impl PartialEq for DataVersion
impl PartialEq for DataVersion
impl Copy for DataVersion
impl Eq for DataVersion
impl StructuralPartialEq for DataVersion
Auto Trait Implementations§
impl Freeze for DataVersion
impl RefUnwindSafe for DataVersion
impl Send for DataVersion
impl Sync for DataVersion
impl Unpin for DataVersion
impl UnwindSafe for DataVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.