pub struct WriteTransactionResult {
pub collection_name: Box,
pub doc_id: DocumentId,
pub kind: DocChangeKind,
}Expand description
Returned from .with_batched_write(...) and describes the operations performed in the batch.
Provides information about the result of an operation on a document that was part of a write transaction.
Fields§
§collection_name: BoxThe name of the collection that the operation took place in.
doc_id: DocumentIdThe Id of the document that the write transaction result applies to.
kind: DocChangeKindThe type of write transaction result.
Auto Trait Implementations§
impl Freeze for WriteTransactionResult
impl RefUnwindSafe for WriteTransactionResult
impl Send for WriteTransactionResult
impl Sync for WriteTransactionResult
impl Unpin for WriteTransactionResult
impl UnwindSafe for WriteTransactionResult
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