pub enum Document {
Upsert {
id: DocumentId,
body: GenericValue,
},
Delete {
id: DocumentId,
},
}Expand description
The result of assembling a document: a body to upsert into the index, or a tombstone when the root row is gone (or soft-deleted).
Variants§
Upsert
Upsert the assembled body under id.
Delete
Remove the document from the index.
Fields
§
id: DocumentIdImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
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