pub enum ValkeyValueKey {
Integer(i64),
String(String),
BulkValkeyString(ValkeyString),
BulkString(Vec<u8>),
Bool(bool),
}
Variants§
Trait Implementations§
Source§impl Clone for ValkeyValueKey
impl Clone for ValkeyValueKey
Source§fn clone(&self) -> ValkeyValueKey
fn clone(&self) -> ValkeyValueKey
Returns a duplicate 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 ValkeyValueKey
impl Debug for ValkeyValueKey
Source§impl From<&String> for ValkeyValueKey
impl From<&String> for ValkeyValueKey
Source§impl From<&str> for ValkeyValueKey
impl From<&str> for ValkeyValueKey
Source§impl From<String> for ValkeyValueKey
impl From<String> for ValkeyValueKey
Source§impl From<ValkeyString> for ValkeyValueKey
impl From<ValkeyString> for ValkeyValueKey
Source§fn from(rs: ValkeyString) -> Self
fn from(rs: ValkeyString) -> Self
Converts to this type from the input type.
Source§impl From<bool> for ValkeyValueKey
impl From<bool> for ValkeyValueKey
Source§impl From<i64> for ValkeyValueKey
impl From<i64> for ValkeyValueKey
Source§impl Hash for ValkeyValueKey
impl Hash for ValkeyValueKey
Source§impl Ord for ValkeyValueKey
impl Ord for ValkeyValueKey
Source§fn cmp(&self, other: &ValkeyValueKey) -> Ordering
fn cmp(&self, other: &ValkeyValueKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ValkeyValueKey
impl PartialEq for ValkeyValueKey
Source§impl PartialOrd for ValkeyValueKey
impl PartialOrd for ValkeyValueKey
Source§impl<'root> TryFrom<&CallReply<'root>> for ValkeyValueKey
impl<'root> TryFrom<&CallReply<'root>> for ValkeyValueKey
Source§impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for ValkeyValueKey
impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for ValkeyValueKey
Source§type Error = ValkeyError
type Error = ValkeyError
The type returned in the event of a conversion error.
impl Eq for ValkeyValueKey
impl StructuralPartialEq for ValkeyValueKey
Auto Trait Implementations§
impl Freeze for ValkeyValueKey
impl RefUnwindSafe for ValkeyValueKey
impl !Send for ValkeyValueKey
impl !Sync for ValkeyValueKey
impl Unpin for ValkeyValueKey
impl UnwindSafe for ValkeyValueKey
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