pub struct AggregatedResult {
pub threat_category: ThreatCategory,
pub confidence: f64,
pub severity: SecuritySeverity,
pub contributing_detectors: Vec<String>,
pub strategy_used: AggregationStrategy,
}Expand description
The outcome of combining multiple detector results.
Fields§
§threat_category: ThreatCategory§confidence: f64§severity: SecuritySeverity§contributing_detectors: Vec<String>§strategy_used: AggregationStrategyTrait Implementations§
Source§impl Clone for AggregatedResult
impl Clone for AggregatedResult
Source§fn clone(&self) -> AggregatedResult
fn clone(&self) -> AggregatedResult
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 AggregatedResult
impl Debug for AggregatedResult
Source§impl<'de> Deserialize<'de> for AggregatedResult
impl<'de> Deserialize<'de> for AggregatedResult
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 AggregatedResult
impl RefUnwindSafe for AggregatedResult
impl Send for AggregatedResult
impl Sync for AggregatedResult
impl Unpin for AggregatedResult
impl UnsafeUnpin for AggregatedResult
impl UnwindSafe for AggregatedResult
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