pub struct FindingsSummary {
pub total: u32,
pub open: u32,
pub fixed: u32,
pub by_severity: HashMap<String, u32>,
pub by_category: Option<HashMap<String, u32>>,
}Expand description
Summary of findings from a policy scan
Fields§
§total: u32Total number of findings
open: u32Number of open findings
fixed: u32Number of fixed findings
by_severity: HashMap<String, u32>Number of findings by severity
by_category: Option<HashMap<String, u32>>Number of findings by category
Trait Implementations§
Source§impl Clone for FindingsSummary
impl Clone for FindingsSummary
Source§fn clone(&self) -> FindingsSummary
fn clone(&self) -> FindingsSummary
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 FindingsSummary
impl Debug for FindingsSummary
Source§impl<'de> Deserialize<'de> for FindingsSummary
impl<'de> Deserialize<'de> for FindingsSummary
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 FindingsSummary
impl RefUnwindSafe for FindingsSummary
impl Send for FindingsSummary
impl Sync for FindingsSummary
impl Unpin for FindingsSummary
impl UnwindSafe for FindingsSummary
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