pub struct DetectionConfig {
pub pattern_matching_enabled: bool,
pub sanitization_enabled: bool,
pub confidence_threshold: f64,
pub max_pattern_complexity: usize,
pub cache_size: usize,
}Expand description
Detection layer configuration
Fields§
§pattern_matching_enabled: bool§sanitization_enabled: bool§confidence_threshold: f64§max_pattern_complexity: usize§cache_size: usizeTrait Implementations§
Source§impl Clone for DetectionConfig
impl Clone for DetectionConfig
Source§fn clone(&self) -> DetectionConfig
fn clone(&self) -> DetectionConfig
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 DetectionConfig
impl Debug for DetectionConfig
Source§impl Default for DetectionConfig
impl Default for DetectionConfig
Source§impl<'de> Deserialize<'de> for DetectionConfig
impl<'de> Deserialize<'de> for DetectionConfig
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 DetectionConfig
impl RefUnwindSafe for DetectionConfig
impl Send for DetectionConfig
impl Sync for DetectionConfig
impl Unpin for DetectionConfig
impl UnwindSafe for DetectionConfig
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