pub struct MergeOutcome {
pub changes: u64,
pub tracked: TrackedChanges,
/* private fields */
}Expand description
Outcome of a merge operation.
Fields§
§changes: u64Total number of changes made during a merge.
Will often be different to the number of tracked changes as tracked changes are normalized.
tracked: TrackedChangesTracked changes made during a merge.
These events can be used by client implementations to react to changes on other devices but they are not an exact representation of what was merged as tracked changes are normalized.
For example, a create secret followed by a deletion of the same secret will result in both events being omitted.
Tracked changes are normalized for all event types.
Not all events are tracked, for example, renaming a folder triggers events on the account event log and also on the folder but only the account level events are tracked.
Trait Implementations§
Source§impl Clone for MergeOutcome
impl Clone for MergeOutcome
Source§fn clone(&self) -> MergeOutcome
fn clone(&self) -> MergeOutcome
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 MergeOutcome
impl Debug for MergeOutcome
Source§impl Default for MergeOutcome
impl Default for MergeOutcome
Source§fn default() -> MergeOutcome
fn default() -> MergeOutcome
Returns the “default value” for a type. Read more
Source§impl PartialEq for MergeOutcome
impl PartialEq for MergeOutcome
impl Eq for MergeOutcome
impl StructuralPartialEq for MergeOutcome
Auto Trait Implementations§
impl Freeze for MergeOutcome
impl RefUnwindSafe for MergeOutcome
impl Send for MergeOutcome
impl Sync for MergeOutcome
impl Unpin for MergeOutcome
impl UnwindSafe for MergeOutcome
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§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.