pub struct SecuritySummary {
pub critical_cnt: Option<i64>,
pub high_cnt: Option<i64>,
pub medium_cnt: Option<i64>,
pub low_cnt: Option<i64>,
pub none_cnt: Option<i64>,
pub unknown_cnt: Option<i64>,
pub total_vuls: Option<i64>,
pub scanned_cnt: Option<i64>,
pub total_artifact: Option<i64>,
pub fixable_cnt: Option<i64>,
pub dangerous_cves: Option<Vec<DangerousCve>>,
pub dangerous_artifacts: Option<Vec<DangerousArtifact>>,
}Expand description
SecuritySummary : the security summary
Fields§
§critical_cnt: Option<i64>the count of critical vulnerabilities
high_cnt: Option<i64>the count of high vulnerabilities
medium_cnt: Option<i64>the count of medium vulnerabilities
low_cnt: Option<i64>the count of low vulnerabilities
none_cnt: Option<i64>the count of none vulnerabilities
unknown_cnt: Option<i64>the count of unknown vulnerabilities
total_vuls: Option<i64>the count of total vulnerabilities
scanned_cnt: Option<i64>the count of scanned artifacts
total_artifact: Option<i64>the total count of artifacts
fixable_cnt: Option<i64>the count of fixable vulnerabilities
dangerous_cves: Option<Vec<DangerousCve>>the list of dangerous CVEs
dangerous_artifacts: Option<Vec<DangerousArtifact>>the list of dangerous artifacts
Implementations§
Source§impl SecuritySummary
impl SecuritySummary
Sourcepub fn new() -> SecuritySummary
pub fn new() -> SecuritySummary
the security summary
Trait Implementations§
Source§impl Clone for SecuritySummary
impl Clone for SecuritySummary
Source§fn clone(&self) -> SecuritySummary
fn clone(&self) -> SecuritySummary
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 SecuritySummary
impl Debug for SecuritySummary
Source§impl Default for SecuritySummary
impl Default for SecuritySummary
Source§fn default() -> SecuritySummary
fn default() -> SecuritySummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecuritySummary
impl<'de> Deserialize<'de> for SecuritySummary
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 SecuritySummary
impl PartialEq for SecuritySummary
Source§impl Serialize for SecuritySummary
impl Serialize for SecuritySummary
impl StructuralPartialEq for SecuritySummary
Auto Trait Implementations§
impl Freeze for SecuritySummary
impl RefUnwindSafe for SecuritySummary
impl Send for SecuritySummary
impl Sync for SecuritySummary
impl Unpin for SecuritySummary
impl UnwindSafe for SecuritySummary
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