Struct ocypod::models::JobStats

source ·
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: u64total_jobs_completed: u64total_jobs_retried: u64total_jobs_failed: u64total_jobs_timed_out: u64total_jobs_cancelled: u64

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
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
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
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

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
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
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.