pub struct SampleEvaluation {Show 13 fields
pub id: String,
pub expected: SampleLabel,
pub actual: SampleLabel,
pub verdict: Verdict,
pub focus_category: Option<ThreatCategory>,
pub attack_family: Option<String>,
pub recommended_action: RecommendedAction,
pub risk_score: u32,
pub finding_count: usize,
pub primary_finding_count: usize,
pub supporting_finding_count: usize,
pub duplicates_removed: usize,
pub path: PathBuf,
}Fields§
§id: String§expected: SampleLabel§actual: SampleLabel§verdict: Verdict§focus_category: Option<ThreatCategory>§attack_family: Option<String>§recommended_action: RecommendedAction§risk_score: u32§finding_count: usize§primary_finding_count: usize§supporting_finding_count: usize§duplicates_removed: usize§path: PathBufTrait Implementations§
Source§impl Clone for SampleEvaluation
impl Clone for SampleEvaluation
Source§fn clone(&self) -> SampleEvaluation
fn clone(&self) -> SampleEvaluation
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 SampleEvaluation
impl Debug for SampleEvaluation
Source§impl<'de> Deserialize<'de> for SampleEvaluation
impl<'de> Deserialize<'de> for SampleEvaluation
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 SampleEvaluation
impl RefUnwindSafe for SampleEvaluation
impl Send for SampleEvaluation
impl Sync for SampleEvaluation
impl Unpin for SampleEvaluation
impl UnsafeUnpin for SampleEvaluation
impl UnwindSafe for SampleEvaluation
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