pub struct JobStats {
pub total_jobs_created: u64,
pub total_jobs_completed: u64,
pub total_jobs_retried: u64,
pub total_jobs_failed: u64,
pub total_jobs_timed_out: u64,
pub total_jobs_cancelled: u64,
}
Fields
total_jobs_created: u64
total_jobs_completed: u64
total_jobs_retried: u64
total_jobs_failed: u64
total_jobs_timed_out: u64
total_jobs_cancelled: u64
Trait Implementations
sourceimpl FromRedisValue for JobStats
impl FromRedisValue for JobStats
sourcefn from_redis_value(v: &Value) -> RedisResult<Self>
fn from_redis_value(v: &Value) -> RedisResult<Self>
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 moresourcefn from_redis_values(items: &[Value]) -> Result<Vec<Self, Global>, RedisError>
fn from_redis_values(items: &[Value]) -> Result<Vec<Self, Global>, RedisError>
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 moreimpl Eq for JobStats
impl StructuralEq for JobStats
impl StructuralPartialEq for JobStats
Auto Trait Implementations
impl RefUnwindSafe for JobStats
impl Send for JobStats
impl Sync for JobStats
impl Unpin for JobStats
impl UnwindSafe for JobStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.