pub struct RiskFinding {
pub category: RiskCategory,
pub severity: Severity,
pub description: String,
pub evidence_refs: Vec<String>,
pub mitigation: Option<String>,
}Expand description
A single risk finding.
Fields§
§category: RiskCategory§severity: Severity§description: String§evidence_refs: Vec<String>§mitigation: Option<String>Trait Implementations§
Source§impl Clone for RiskFinding
impl Clone for RiskFinding
Source§fn clone(&self) -> RiskFinding
fn clone(&self) -> RiskFinding
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 RiskFinding
impl Debug for RiskFinding
Source§impl<'de> Deserialize<'de> for RiskFinding
impl<'de> Deserialize<'de> for RiskFinding
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 RiskFinding
impl RefUnwindSafe for RiskFinding
impl Send for RiskFinding
impl Sync for RiskFinding
impl Unpin for RiskFinding
impl UnsafeUnpin for RiskFinding
impl UnwindSafe for RiskFinding
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