pub struct NamespaceMutation {
pub name: String,
pub options: OpenOptions,
pub upserts: Vec<IngestDocument>,
pub deletes: Vec<DocId>,
pub delete_where: Option<Predicate>,
}Expand description
One namespace’s ordered upserts, deletes, then predicate delete.
Fields§
§name: StringExisting direct child namespace name, using the namespace-open grammar.
options: OpenOptionsExisting namespace’s schema, epoch and tokenizer declaration.
upserts: Vec<IngestDocument>Documents to upsert.
deletes: Vec<DocId>IDs to delete.
delete_where: Option<Predicate>Predicate evaluated after the explicit changes, in the private state.
Auto Trait Implementations§
impl Freeze for NamespaceMutation
impl RefUnwindSafe for NamespaceMutation
impl Send for NamespaceMutation
impl Sync for NamespaceMutation
impl Unpin for NamespaceMutation
impl UnsafeUnpin for NamespaceMutation
impl UnwindSafe for NamespaceMutation
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