pub struct NativeReportSummary {
pub report_id: Option<String>,
pub scan_status: Option<String>,
pub severity: Option<String>,
pub duration: Option<i64>,
pub summary: Option<Box<VulnerabilitySummary>>,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub complete_percent: Option<i32>,
pub scanner: Option<Box<Scanner>>,
}Expand description
NativeReportSummary : The summary for the native report
Fields§
§report_id: Option<String>id of the native scan report
scan_status: Option<String>The status of the report generating process
severity: Option<String>The overall severity
duration: Option<i64>The seconds spent for generating the report
summary: Option<Box<VulnerabilitySummary>>§start_time: Option<String>The start time of the scan process that generating report
end_time: Option<String>The end time of the scan process that generating report
complete_percent: Option<i32>The complete percent of the scanning which value is between 0 and 100
scanner: Option<Box<Scanner>>Implementations§
Source§impl NativeReportSummary
impl NativeReportSummary
Sourcepub fn new() -> NativeReportSummary
pub fn new() -> NativeReportSummary
The summary for the native report
Trait Implementations§
Source§impl Clone for NativeReportSummary
impl Clone for NativeReportSummary
Source§fn clone(&self) -> NativeReportSummary
fn clone(&self) -> NativeReportSummary
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 NativeReportSummary
impl Debug for NativeReportSummary
Source§impl Default for NativeReportSummary
impl Default for NativeReportSummary
Source§fn default() -> NativeReportSummary
fn default() -> NativeReportSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NativeReportSummary
impl<'de> Deserialize<'de> for NativeReportSummary
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 NativeReportSummary
impl PartialEq for NativeReportSummary
Source§impl Serialize for NativeReportSummary
impl Serialize for NativeReportSummary
impl StructuralPartialEq for NativeReportSummary
Auto Trait Implementations§
impl Freeze for NativeReportSummary
impl RefUnwindSafe for NativeReportSummary
impl Send for NativeReportSummary
impl Sync for NativeReportSummary
impl Unpin for NativeReportSummary
impl UnwindSafe for NativeReportSummary
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