pub struct QueueStats {
pub key: String,
pub enqueued: usize,
pub processed: i64,
pub succeeded: i64,
pub panicked: i64,
pub failed: i64,
pub latency_s: f64,
pub queues: Vec<DynamicQueueStats>,
}Expand description
Statistics for a specific queue.
Fields§
§key: StringThe queue key/name.
enqueued: usizeNumber of jobs currently enqueued.
processed: i64Total number of jobs processed.
succeeded: i64Total number of jobs succeeded.
panicked: i64Total number of jobs panicked.
failed: i64Total number of jobs failed.
latency_s: f64Current latency in seconds.
queues: Vec<DynamicQueueStats>Dynamic sub-queue statistics (if any).
Trait 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<'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 UnsafeUnpin 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