Struct rsmq::Message
[−]
[src]
pub struct Message { pub id: String, pub message: String, pub rc: u64, pub fr: u64, pub sent: u64, }
Fields
id: String
message: String
rc: u64
fr: u64
sent: u64
Methods
impl Message
[src]
Trait Implementations
impl Clone for Message
[src]
fn clone(&self) -> Message
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Message
[src]
impl FromRedisValue for Message
[src]
fn from_redis_value(v: &Value) -> RedisResult<Message>
[src]
Given a redis Value
this attempts to convert it into the given destination type. If that fails because it's not compatible an appropriate error is generated. Read more
fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
[src]
Similar to from_redis_value
but constructs a vector of objects from another vector of values. This primarily exists internally to customize the behavior for vectors of tuples. Read more