pub struct QueueStats {
pub pending_jobs: u64,
pub processing_jobs: u64,
pub completed_jobs: u64,
pub failed_jobs: u64,
pub dead_jobs: u64,
pub total_jobs: u64,
}Expand description
Queue statistics
Fields§
§pending_jobs: u64§processing_jobs: u64§completed_jobs: u64§failed_jobs: u64§dead_jobs: u64§total_jobs: u64Trait Implementations§
Source§impl Clone for QueueStats
impl Clone for QueueStats
Source§fn clone(&self) -> QueueStats
fn clone(&self) -> QueueStats
Returns a duplicate 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 QueueStats
impl Debug for QueueStats
Source§impl Default for QueueStats
impl Default for QueueStats
Source§fn default() -> QueueStats
fn default() -> QueueStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueueStats
impl<'de> Deserialize<'de> for QueueStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueueStats
impl RefUnwindSafe for QueueStats
impl Send for QueueStats
impl Sync for QueueStats
impl Unpin for QueueStats
impl UnwindSafe for QueueStats
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