pub struct Stats {
pub total: Option<i32>,
pub completed: Option<i32>,
pub metrics: Option<HashMap<String, i32>>,
pub ongoing: Option<bool>,
pub trigger: Option<Trigger>,
}Expand description
Stats : Stats provides the overall progress of the scan all process.
Fields§
§total: Option<i32>The total number of scan processes triggered by the scan all action
completed: Option<i32>The number of the finished scan processes triggered by the scan all action
metrics: Option<HashMap<String, i32>>The metrics data for the each status
ongoing: Option<bool>A flag indicating job status of scan all.
trigger: Option<Trigger>The trigger of the scan all job.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
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 Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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