pub struct SuspiciousIndicator {
pub pattern_name: String,
pub description: String,
pub severity: u8,
pub matched_text: Option<String>,
}
Expand description
Represents a suspicious indicator found in a string
Fields§
§pattern_name: String
The pattern that matched
description: String
Description of why this is suspicious
severity: u8
Severity level (0-10)
matched_text: Option<String>
The specific match within the string
Trait Implementations§
Source§impl Clone for SuspiciousIndicator
impl Clone for SuspiciousIndicator
Source§fn clone(&self) -> SuspiciousIndicator
fn clone(&self) -> SuspiciousIndicator
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 SuspiciousIndicator
impl Debug for SuspiciousIndicator
Source§impl<'de> Deserialize<'de> for SuspiciousIndicator
impl<'de> Deserialize<'de> for SuspiciousIndicator
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 SuspiciousIndicator
impl RefUnwindSafe for SuspiciousIndicator
impl Send for SuspiciousIndicator
impl Sync for SuspiciousIndicator
impl Unpin for SuspiciousIndicator
impl UnwindSafe for SuspiciousIndicator
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