pub struct GCounterDelta {
pub node_id: String,
pub value: u64,
}Expand description
Delta for G-Counter.
Fields§
§node_id: String§value: u64Trait Implementations§
Source§impl Clone for GCounterDelta
impl Clone for GCounterDelta
Source§fn clone(&self) -> GCounterDelta
fn clone(&self) -> GCounterDelta
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 GCounterDelta
impl Debug for GCounterDelta
Source§impl<'de> Deserialize<'de> for GCounterDelta
impl<'de> Deserialize<'de> for GCounterDelta
Source§fn 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
Auto Trait Implementations§
impl Freeze for GCounterDelta
impl RefUnwindSafe for GCounterDelta
impl Send for GCounterDelta
impl Sync for GCounterDelta
impl Unpin for GCounterDelta
impl UnsafeUnpin for GCounterDelta
impl UnwindSafe for GCounterDelta
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