pub struct StatsRunsByState {
pub scheduled: usize,
pub ready: usize,
pub leased: usize,
pub running: usize,
pub retry_wait: usize,
pub completed: usize,
pub failed: usize,
pub canceled: usize,
}Expand description
Counts of runs by state.
This struct provides a stable schema for run state counts, with each field corresponding to a canonical state in the run lifecycle.
Fields§
§scheduled: usizeNumber of runs in Scheduled state.
ready: usizeNumber of runs in Ready state.
leased: usizeNumber of runs in Leased state.
running: usizeNumber of runs in Running state.
retry_wait: usizeNumber of runs in RetryWait state.
completed: usizeNumber of runs in Completed state.
failed: usizeNumber of runs in Failed state.
canceled: usizeNumber of runs in Canceled state.
Trait Implementations§
Source§impl Clone for StatsRunsByState
impl Clone for StatsRunsByState
Source§fn clone(&self) -> StatsRunsByState
fn clone(&self) -> StatsRunsByState
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 StatsRunsByState
impl Debug for StatsRunsByState
Auto Trait Implementations§
impl Freeze for StatsRunsByState
impl RefUnwindSafe for StatsRunsByState
impl Send for StatsRunsByState
impl Sync for StatsRunsByState
impl Unpin for StatsRunsByState
impl UnsafeUnpin for StatsRunsByState
impl UnwindSafe for StatsRunsByState
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