pub struct Merged {
pub doc: LeanManifest,
pub foreign: Vec<(String, LeanEntry)>,
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 returns: the document, and what it decided per path.
Fields§
§doc: LeanManifest§foreign: Vec<(String, LeanEntry)>Entries a consume must integrate next: present in theirs, changed vs base, not mine.
overridden: Vec<(String, LeanEntry)>Theirs’ version at a path this barrier uploaded, changed since the merge base (R7).
deletes: BTreeMap<String, DeleteOutcome>Every declared delete, and what the merge did with it.
recreated: Vec<(String, String)>The deletes mine publishes over: (path, the deleted version's etag) for a path mine uploads that the merge base cited and theirs
deleted. Mine wins; the caller records each (the user’s rule: a
delete over a dirty path lands, with a record).
over_theirs: Vec<(String, LeanEntry)>The versions mine DELETES over: theirs at a path this barrier deletes, changed since the merge base (M3, P1-lite). Mine wins; the caller preserves and records each before the collector takes it.
Auto Trait Implementations§
impl Freeze for Merged
impl RefUnwindSafe for Merged
impl Send for Merged
impl Sync for Merged
impl Unpin for Merged
impl UnsafeUnpin for Merged
impl UnwindSafe for Merged
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