pub struct PatternDetectionConfig {
pub min_occurrences: u32,
pub analysis_window: Duration,
pub similarity_threshold: f64,
}Expand description
Pattern detection configuration
Fields§
§min_occurrences: u32Minimum occurrences for pattern detection
analysis_window: DurationTime window for pattern analysis
similarity_threshold: f64Pattern similarity threshold
Trait Implementations§
Source§impl Clone for PatternDetectionConfig
impl Clone for PatternDetectionConfig
Source§fn clone(&self) -> PatternDetectionConfig
fn clone(&self) -> PatternDetectionConfig
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 PatternDetectionConfig
impl Debug for PatternDetectionConfig
Source§impl Default for PatternDetectionConfig
impl Default for PatternDetectionConfig
Source§impl<'de> Deserialize<'de> for PatternDetectionConfig
impl<'de> Deserialize<'de> for PatternDetectionConfig
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 PatternDetectionConfig
impl RefUnwindSafe for PatternDetectionConfig
impl Send for PatternDetectionConfig
impl Sync for PatternDetectionConfig
impl Unpin for PatternDetectionConfig
impl UnwindSafe for PatternDetectionConfig
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