Enum redis_module::redisvalue::RedisValueKey
source · pub enum RedisValueKey {
Integer(i64),
String(String),
BulkRedisString(RedisString),
BulkString(Vec<u8>),
Bool(bool),
}
Variants§
Trait Implementations§
source§impl Clone for RedisValueKey
impl Clone for RedisValueKey
source§fn clone(&self) -> RedisValueKey
fn clone(&self) -> RedisValueKey
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 RedisValueKey
impl Debug for RedisValueKey
source§impl Hash for RedisValueKey
impl Hash for RedisValueKey
source§impl PartialEq<RedisValueKey> for RedisValueKey
impl PartialEq<RedisValueKey> for RedisValueKey
source§fn eq(&self, other: &RedisValueKey) -> bool
fn eq(&self, other: &RedisValueKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'root> TryFrom<&CallReply<'root>> for RedisValueKey
impl<'root> TryFrom<&CallReply<'root>> for RedisValueKey
source§impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for RedisValueKey
impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for RedisValueKey
§type Error = RedisError
type Error = RedisError
The type returned in the event of a conversion error.
impl Eq for RedisValueKey
impl StructuralEq for RedisValueKey
impl StructuralPartialEq for RedisValueKey
Auto Trait Implementations§
impl RefUnwindSafe for RedisValueKey
impl !Send for RedisValueKey
impl !Sync for RedisValueKey
impl Unpin for RedisValueKey
impl UnwindSafe for RedisValueKey
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