pub struct WorkerPingJobStats {
pub total: Box<WorkerJobCounts>,
pub last_24h: Box<WorkerJobCounts>,
pub last_100: Box<WorkerJobCounts>,
}Expand description
WorkerPingJobStats : script and flow-step jobs this worker ran and how many of them failed, over its whole life, the last 24 hours and its last 100 jobs. A flow’s own outcome is not counted, since its failure is that of a step already counted on the worker that ran it. Canceled jobs count as executed, not failed.
Fields§
§total: Box<WorkerJobCounts>§last_24h: Box<WorkerJobCounts>§last_100: Box<WorkerJobCounts>Implementations§
Source§impl WorkerPingJobStats
impl WorkerPingJobStats
Sourcepub fn new(
total: WorkerJobCounts,
last_24h: WorkerJobCounts,
last_100: WorkerJobCounts,
) -> WorkerPingJobStats
pub fn new( total: WorkerJobCounts, last_24h: WorkerJobCounts, last_100: WorkerJobCounts, ) -> WorkerPingJobStats
script and flow-step jobs this worker ran and how many of them failed, over its whole life, the last 24 hours and its last 100 jobs. A flow’s own outcome is not counted, since its failure is that of a step already counted on the worker that ran it. Canceled jobs count as executed, not failed.
Trait Implementations§
Source§impl Clone for WorkerPingJobStats
impl Clone for WorkerPingJobStats
Source§impl Debug for WorkerPingJobStats
impl Debug for WorkerPingJobStats
Source§impl Default for WorkerPingJobStats
impl Default for WorkerPingJobStats
Source§impl<'de> Deserialize<'de> for WorkerPingJobStats
impl<'de> Deserialize<'de> for WorkerPingJobStats
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
Source§impl PartialEq for WorkerPingJobStats
impl PartialEq for WorkerPingJobStats
Source§impl Serialize for WorkerPingJobStats
impl Serialize for WorkerPingJobStats
impl StructuralPartialEq for WorkerPingJobStats
Auto Trait Implementations§
impl Forget for WorkerPingJobStats
impl Freeze for WorkerPingJobStats
impl RefUnwindSafe for WorkerPingJobStats
impl Send for WorkerPingJobStats
impl Sync for WorkerPingJobStats
impl Unpin for WorkerPingJobStats
impl UnsafeUnpin for WorkerPingJobStats
impl UnwindSafe for WorkerPingJobStats
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