pub struct DocEdit<'a> {
pub seq: u64,
pub entries: EditEntries<'a>,
pub tombstones: BTreeMap<String, Tombstone>,
}Expand description
A one-CAS edit of a document it does not copy (the gateway’s lever,
latency plan §16): the edit reads the document it was handed and writes
an overlay. entries answers as the edited document’s map would, so an
edit reads as it does under commit_edit; seq is the next generation
and tombstones the document’s, to change.
Fields§
§seq: u64§entries: EditEntries<'a>§tombstones: BTreeMap<String, Tombstone>Auto Trait Implementations§
impl<'a> Freeze for DocEdit<'a>
impl<'a> RefUnwindSafe for DocEdit<'a>
impl<'a> Send for DocEdit<'a>
impl<'a> Sync for DocEdit<'a>
impl<'a> Unpin for DocEdit<'a>
impl<'a> UnsafeUnpin for DocEdit<'a>
impl<'a> UnwindSafe for DocEdit<'a>
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