Struct deno_kv::KvMutation
source · pub struct KvMutation {
pub key: Vec<u8>,
pub kind: MutationKind,
}
Expand description
A request to perform a mutation on a key in the database. The mutation is performed on the value of the key.
The type of mutation is specified by the kind
field. The action performed
by each mutation kind is specified in the docs for MutationKind.
Fields§
§key: Vec<u8>
§kind: MutationKind
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KvMutation
impl Send for KvMutation
impl Sync for KvMutation
impl Unpin for KvMutation
impl UnwindSafe for KvMutation
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