pub struct ThreatPattern {
pub name: String,
pub category: ThreatCategory,
pub severity: ThreatSeverity,
pub pattern: Regex,
pub description: String,
pub recommended_action: String,
}Expand description
Threat detection pattern
Fields§
§name: String§category: ThreatCategory§severity: ThreatSeverity§pattern: Regex§description: String§recommended_action: StringTrait Implementations§
Source§impl Clone for ThreatPattern
impl Clone for ThreatPattern
Source§fn clone(&self) -> ThreatPattern
fn clone(&self) -> ThreatPattern
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 moreAuto Trait Implementations§
impl Freeze for ThreatPattern
impl RefUnwindSafe for ThreatPattern
impl Send for ThreatPattern
impl Sync for ThreatPattern
impl Unpin for ThreatPattern
impl UnwindSafe for ThreatPattern
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