pub struct ApplyResult {
pub entries_applied: u64,
pub entries_skipped: u64,
pub entries_equal: u64,
}Expand description
Result of applying a sync patch to a database.
Fields§
§entries_applied: u64Entries written (remote won or key was new).
entries_skipped: u64Entries skipped (local won LWW comparison).
entries_equal: u64Entries where local and remote are identical (no-op).
Implementations§
Source§impl ApplyResult
impl ApplyResult
Trait Implementations§
Source§impl Clone for ApplyResult
impl Clone for ApplyResult
Source§fn clone(&self) -> ApplyResult
fn clone(&self) -> ApplyResult
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 ApplyResult
impl Debug for ApplyResult
Source§impl PartialEq for ApplyResult
impl PartialEq for ApplyResult
impl Eq for ApplyResult
impl StructuralPartialEq for ApplyResult
Auto Trait Implementations§
impl Freeze for ApplyResult
impl RefUnwindSafe for ApplyResult
impl Send for ApplyResult
impl Sync for ApplyResult
impl Unpin for ApplyResult
impl UnsafeUnpin for ApplyResult
impl UnwindSafe for ApplyResult
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