pub struct PatchEntry {
pub key: Vec<u8>,
pub value: Vec<u8>,
pub kind: EntryKind,
pub crdt_meta: Option<CrdtMeta>,
}Expand description
A single entry in a sync patch.
Fields§
§key: Vec<u8>§value: Vec<u8>§kind: EntryKind§crdt_meta: Option<CrdtMeta>Trait Implementations§
Source§impl Clone for PatchEntry
impl Clone for PatchEntry
Source§fn clone(&self) -> PatchEntry
fn clone(&self) -> PatchEntry
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 PatchEntry
impl Debug for PatchEntry
Source§impl PartialEq for PatchEntry
impl PartialEq for PatchEntry
impl Eq for PatchEntry
impl StructuralPartialEq for PatchEntry
Auto Trait Implementations§
impl Freeze for PatchEntry
impl RefUnwindSafe for PatchEntry
impl Send for PatchEntry
impl Sync for PatchEntry
impl Unpin for PatchEntry
impl UnsafeUnpin for PatchEntry
impl UnwindSafe for PatchEntry
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