pub struct DetectVerdict {
pub is_threat: bool,
pub threat_score: f64,
pub threats: Vec<Threat>,
pub original_length: usize,
pub processed_length: usize,
}Expand description
Full verdict (SusPatternsManager.detect return shape, minus timing).
Fields§
§is_threat: bool§threat_score: f64§threats: Vec<Threat>§original_length: usize§processed_length: usizeTrait Implementations§
Source§impl Clone for DetectVerdict
impl Clone for DetectVerdict
Source§impl Debug for DetectVerdict
impl Debug for DetectVerdict
Source§impl PartialEq for DetectVerdict
impl PartialEq for DetectVerdict
impl StructuralPartialEq for DetectVerdict
Auto Trait Implementations§
impl Freeze for DetectVerdict
impl RefUnwindSafe for DetectVerdict
impl Send for DetectVerdict
impl Sync for DetectVerdict
impl Unpin for DetectVerdict
impl UnsafeUnpin for DetectVerdict
impl UnwindSafe for DetectVerdict
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