pub enum TransactionMutation {
Put {
key: DocumentKey,
value: Vec<u8>,
},
Delete {
key: DocumentKey,
},
}Expand description
A mutation applied atomically with all other mutations in a request.
Variants§
Implementations§
Source§impl TransactionMutation
impl TransactionMutation
pub fn key(&self) -> &DocumentKey
Trait Implementations§
Source§impl Clone for TransactionMutation
impl Clone for TransactionMutation
Source§impl Debug for TransactionMutation
impl Debug for TransactionMutation
impl Eq for TransactionMutation
Source§impl PartialEq for TransactionMutation
impl PartialEq for TransactionMutation
impl StructuralPartialEq for TransactionMutation
Auto Trait Implementations§
impl Freeze for TransactionMutation
impl RefUnwindSafe for TransactionMutation
impl Send for TransactionMutation
impl Sync for TransactionMutation
impl Unpin for TransactionMutation
impl UnsafeUnpin for TransactionMutation
impl UnwindSafe for TransactionMutation
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