pub struct DeleteBatch { /* private fields */ }Expand description
One atomic caller batch of stable document ids to tombstone.
Implementations§
Source§impl DeleteBatch
impl DeleteBatch
Sourcepub fn conditional(targets: Vec<(DocId, Option<ExpectedRevision>)>) -> Self
pub fn conditional(targets: Vec<(DocId, Option<ExpectedRevision>)>) -> Self
Takes ids in caller order, each with an optional live-revision precondition; one failed condition aborts the whole batch.
Trait Implementations§
Source§impl Clone for DeleteBatch
impl Clone for DeleteBatch
Source§impl Debug for DeleteBatch
impl Debug for DeleteBatch
Source§impl Default for DeleteBatch
impl Default for DeleteBatch
impl Eq for DeleteBatch
Source§impl PartialEq for DeleteBatch
impl PartialEq for DeleteBatch
impl StructuralPartialEq for DeleteBatch
Auto Trait Implementations§
impl Freeze for DeleteBatch
impl RefUnwindSafe for DeleteBatch
impl Send for DeleteBatch
impl Sync for DeleteBatch
impl Unpin for DeleteBatch
impl UnsafeUnpin for DeleteBatch
impl UnwindSafe for DeleteBatch
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