pub struct MergedChanges {
pub seq: u64,
pub overlay: BTreeMap<String, Option<LeanEntry>>,
pub tombstones: BTreeMap<String, Tombstone>,
pub overridden: Vec<(String, LeanEntry)>,
pub deletes: BTreeMap<String, DeleteOutcome>,
pub recreated: Vec<(String, String)>,
pub over_theirs: Vec<(String, LeanEntry)>,
}Expand description
What merge decides for the paths a barrier changes (lever G, latency
plan §12): everything but the foreign set, which is about every OTHER
path. merge is this over the whole document plus that set, so a path
cannot be decided two ways.
Fields§
§seq: u64The merged document’s generation.
overlay: BTreeMap<String, Option<LeanEntry>>Each changed path’s entry in the merged document: Some cited (an
upsert), None no longer cited (a delete that applied to a cited
path). Every other path is theirs, as it stands.
tombstones: BTreeMap<String, Tombstone>The merged document’s tombstones, whole.
overridden: Vec<(String, LeanEntry)>§deletes: BTreeMap<String, DeleteOutcome>§recreated: Vec<(String, String)>§over_theirs: Vec<(String, LeanEntry)>Auto Trait Implementations§
impl Freeze for MergedChanges
impl RefUnwindSafe for MergedChanges
impl Send for MergedChanges
impl Sync for MergedChanges
impl Unpin for MergedChanges
impl UnsafeUnpin for MergedChanges
impl UnwindSafe for MergedChanges
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