pub struct Metrics {
pub task_count: Option<i32>,
pub success_task_count: Option<i32>,
pub error_task_count: Option<i32>,
pub pending_task_count: Option<i32>,
pub running_task_count: Option<i32>,
pub scheduled_task_count: Option<i32>,
pub stopped_task_count: Option<i32>,
}Fields§
§task_count: Option<i32>The count of task
success_task_count: Option<i32>The count of success task
error_task_count: Option<i32>The count of error task
pending_task_count: Option<i32>The count of pending task
running_task_count: Option<i32>The count of running task
scheduled_task_count: Option<i32>The count of scheduled task
stopped_task_count: Option<i32>The count of stopped task
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metrics
impl<'de> Deserialize<'de> for Metrics
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
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
impl UnwindSafe for Metrics
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