pub struct ContributingFactor {
pub name: String,
pub value: f64,
pub contribution: f64,
pub description: String,
}Expand description
Factor contributing to threat score
Fields§
§name: String§value: f64§contribution: f64§description: StringTrait Implementations§
Source§impl Clone for ContributingFactor
impl Clone for ContributingFactor
Source§fn clone(&self) -> ContributingFactor
fn clone(&self) -> ContributingFactor
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 ContributingFactor
impl Debug for ContributingFactor
Source§impl<'de> Deserialize<'de> for ContributingFactor
impl<'de> Deserialize<'de> for ContributingFactor
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 ContributingFactor
impl RefUnwindSafe for ContributingFactor
impl Send for ContributingFactor
impl Sync for ContributingFactor
impl Unpin for ContributingFactor
impl UnwindSafe for ContributingFactor
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