pub struct WriteTransactionResult {
pub collection_name: Box,
pub doc_id: DocumentId,
pub kind: DocChangeKind,
}👎Deprecated: Use
ditto.store().execute_v2(...) or ditto.store().register_observer_v2(...) insteadExpand 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: Box👎Deprecated: Use
ditto.store().execute_v2(...) or ditto.store().register_observer_v2(...) insteadThe name of the collection that the operation took place in.
doc_id: DocumentId👎Deprecated: Use
ditto.store().execute_v2(...) or ditto.store().register_observer_v2(...) insteadThe Id of the document that the write transaction result applies to.
kind: DocChangeKind👎Deprecated: Use
ditto.store().execute_v2(...) or ditto.store().register_observer_v2(...) insteadThe 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