Enum redis_module::redisvalue::RedisValue[][src]

pub enum RedisValue {
    SimpleStringStatic(&'static str),
    SimpleString(String),
    BulkString(String),
    BulkRedisString(RedisString),
    StringBuffer(Vec<u8>),
    Integer(i64),
    Float(f64),
    Array(Vec<RedisValue>),
    Null,
    NoReply,
}

Variants

SimpleStringStatic

Tuple Fields of SimpleStringStatic

0: &'static str
SimpleString

Tuple Fields of SimpleString

0: String
BulkString

Tuple Fields of BulkString

0: String
BulkRedisString

Tuple Fields of BulkRedisString

0: RedisString
StringBuffer

Tuple Fields of StringBuffer

0: Vec<u8>
Integer

Tuple Fields of Integer

0: i64
Float

Tuple Fields of Float

0: f64
Array

Tuple Fields of Array

0: Vec<RedisValue>
Null
NoReply

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.