pub struct MessageDelc {
pub key: Vec<u8>,
pub expected_value: Option<Vec<u8>>,
}
Expand description
Delete a key if the value of that key is the same as the one provided.
§Fields
key
- The key to delete.expected_value
- The expected value of the key before the DELETE.
Fields§
§key: Vec<u8>
§expected_value: Option<Vec<u8>>
Trait Implementations§
source§impl Clone for MessageDelc
impl Clone for MessageDelc
source§fn clone(&self) -> MessageDelc
fn clone(&self) -> MessageDelc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageDelc
impl Debug for MessageDelc
source§impl<'de> Deserialize<'de> for MessageDelc
impl<'de> Deserialize<'de> for MessageDelc
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 for MessageDelc
impl PartialEq for MessageDelc
source§impl Revisioned for MessageDelc
impl Revisioned for MessageDelc
source§impl Serialize for MessageDelc
impl Serialize for MessageDelc
impl StructuralPartialEq for MessageDelc
Auto Trait Implementations§
impl Freeze for MessageDelc
impl RefUnwindSafe for MessageDelc
impl Send for MessageDelc
impl Sync for MessageDelc
impl Unpin for MessageDelc
impl UnwindSafe for MessageDelc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)