pub struct ScanRecord {Show 16 fields
pub target: String,
pub tool: String,
pub title: String,
pub severity: String,
pub port: Option<u16>,
pub cve: Option<String>,
pub service: Option<String>,
pub raw: Value,
pub affected_endpoints: Vec<String>,
pub nvd_description: Option<String>,
pub nvd_cvss_v3: Option<f32>,
pub nvd_cvss_v3_severity: Option<String>,
pub nvd_cvss_v2: Option<f32>,
pub nvd_published: Option<String>,
pub nvd_last_modified: Option<String>,
pub nvd_references: Vec<String>,
}Fields§
§target: String§tool: String§title: String§severity: String§port: Option<u16>§cve: Option<String>§service: Option<String>§raw: Value§affected_endpoints: Vec<String>§nvd_description: Option<String>§nvd_cvss_v3: Option<f32>§nvd_cvss_v3_severity: Option<String>§nvd_cvss_v2: Option<f32>§nvd_published: Option<String>§nvd_last_modified: Option<String>§nvd_references: Vec<String>Trait Implementations§
Source§impl Clone for ScanRecord
impl Clone for ScanRecord
Source§fn clone(&self) -> ScanRecord
fn clone(&self) -> ScanRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScanRecord
impl Debug for ScanRecord
Source§impl Default for ScanRecord
impl Default for ScanRecord
Source§fn default() -> ScanRecord
fn default() -> ScanRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanRecord
impl<'de> Deserialize<'de> for ScanRecord
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 ScanRecord
impl RefUnwindSafe for ScanRecord
impl Send for ScanRecord
impl Sync for ScanRecord
impl Unpin for ScanRecord
impl UnsafeUnpin for ScanRecord
impl UnwindSafe for ScanRecord
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