Enum bonsaidb_core::keyvalue::KeyStatus
source · pub enum KeyStatus {
Inserted,
Updated,
Deleted,
NotChanged,
}
Expand description
The status of an operation on a Key.
Variants§
Inserted
A new key was inserted.
Updated
An existing key was updated with a new value.
Deleted
A key was deleted.
NotChanged
No changes were made.
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyStatus
impl<'de> Deserialize<'de> for KeyStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<KeyStatus> for KeyStatus
impl PartialEq<KeyStatus> for KeyStatus
impl Copy for KeyStatus
impl Eq for KeyStatus
impl StructuralEq for KeyStatus
impl StructuralPartialEq for KeyStatus
Auto Trait Implementations§
impl RefUnwindSafe for KeyStatus
impl Send for KeyStatus
impl Sync for KeyStatus
impl Unpin for KeyStatus
impl UnwindSafe for KeyStatus
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