pub struct ModelsRuleProperties {Show 31 fields
pub cvss_attack_complexity: String,
pub cvss_attack_vector: String,
pub cvss_availability_impact: String,
pub cvss_base_score: f64,
pub cvss_confidentiality_impact: String,
pub cvss_exploitability_score: f64,
pub cvss_impact_score: f64,
pub cvss_integrity_impact: String,
pub cvss_privileges_required: String,
pub cvss_scope: String,
pub cvss_source: String,
pub cvss_user_interaction: String,
pub cvss_vector: String,
pub description: String,
pub exploit_date_recorded_timestamp: i64,
pub exploit_sources: Vec<IngestionCveExploitSource>,
pub exploit_status: String,
pub exploit_updated_timestamp: i64,
pub exprt_rating: String,
pub exprt_rating_date_recorded_timestamp: i64,
pub exprt_rating_highest: String,
pub exprt_rating_highest_recorded_timestamp: i64,
pub first_seen_timestamp: i64,
pub references: Vec<IngestionReference>,
pub remediation_count: i32,
pub remediation_sources: Vec<String>,
pub remediations: Vec<String>,
pub runtime: String,
pub scanner_version: String,
pub severity: String,
pub top_exprt_rating_factors: Vec<IngestionExPrtRatingFactors>,
}Fields§
§cvss_attack_complexity: String§cvss_attack_vector: String§cvss_availability_impact: String§cvss_base_score: f64§cvss_confidentiality_impact: String§cvss_exploitability_score: f64§cvss_impact_score: f64§cvss_integrity_impact: String§cvss_privileges_required: String§cvss_scope: String§cvss_source: String§cvss_user_interaction: String§cvss_vector: String§description: String§exploit_date_recorded_timestamp: i64§exploit_sources: Vec<IngestionCveExploitSource>§exploit_status: String§exploit_updated_timestamp: i64§exprt_rating: String§exprt_rating_date_recorded_timestamp: i64§exprt_rating_highest: String§exprt_rating_highest_recorded_timestamp: i64§first_seen_timestamp: i64§references: Vec<IngestionReference>§remediation_count: i32§remediation_sources: Vec<String>§remediations: Vec<String>§runtime: String§scanner_version: String§severity: String§top_exprt_rating_factors: Vec<IngestionExPrtRatingFactors>Implementations§
Source§impl ModelsRuleProperties
impl ModelsRuleProperties
pub fn new( cvss_attack_complexity: String, cvss_attack_vector: String, cvss_availability_impact: String, cvss_base_score: f64, cvss_confidentiality_impact: String, cvss_exploitability_score: f64, cvss_impact_score: f64, cvss_integrity_impact: String, cvss_privileges_required: String, cvss_scope: String, cvss_source: String, cvss_user_interaction: String, cvss_vector: String, description: String, exploit_date_recorded_timestamp: i64, exploit_sources: Vec<IngestionCveExploitSource>, exploit_status: String, exploit_updated_timestamp: i64, exprt_rating: String, exprt_rating_date_recorded_timestamp: i64, exprt_rating_highest: String, exprt_rating_highest_recorded_timestamp: i64, first_seen_timestamp: i64, references: Vec<IngestionReference>, remediation_count: i32, remediation_sources: Vec<String>, remediations: Vec<String>, runtime: String, scanner_version: String, severity: String, top_exprt_rating_factors: Vec<IngestionExPrtRatingFactors>, ) -> ModelsRuleProperties
Trait Implementations§
Source§impl Clone for ModelsRuleProperties
impl Clone for ModelsRuleProperties
Source§fn clone(&self) -> ModelsRuleProperties
fn clone(&self) -> ModelsRuleProperties
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 ModelsRuleProperties
impl Debug for ModelsRuleProperties
Source§impl Default for ModelsRuleProperties
impl Default for ModelsRuleProperties
Source§fn default() -> ModelsRuleProperties
fn default() -> ModelsRuleProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelsRuleProperties
impl<'de> Deserialize<'de> for ModelsRuleProperties
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 ModelsRuleProperties
impl PartialEq for ModelsRuleProperties
Source§impl Serialize for ModelsRuleProperties
impl Serialize for ModelsRuleProperties
impl StructuralPartialEq for ModelsRuleProperties
Auto Trait Implementations§
impl Freeze for ModelsRuleProperties
impl RefUnwindSafe for ModelsRuleProperties
impl Send for ModelsRuleProperties
impl Sync for ModelsRuleProperties
impl Unpin for ModelsRuleProperties
impl UnwindSafe for ModelsRuleProperties
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