pub struct DetectConfig {
pub threshold: f64,
pub ambiguity_delta: f64,
}Expand description
Configuration for ambiguity reporting.
Fields§
§threshold: f64Minimum confidence for a WAF to be reported.
ambiguity_delta: f64If top-2 confidence delta is smaller than this, report both.
Trait Implementations§
Source§impl Clone for DetectConfig
impl Clone for DetectConfig
Source§fn clone(&self) -> DetectConfig
fn clone(&self) -> DetectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DetectConfig
impl Debug for DetectConfig
Source§impl Default for DetectConfig
impl Default for DetectConfig
impl Copy for DetectConfig
Auto Trait Implementations§
impl Freeze for DetectConfig
impl RefUnwindSafe for DetectConfig
impl Send for DetectConfig
impl Sync for DetectConfig
impl Unpin for DetectConfig
impl UnsafeUnpin for DetectConfig
impl UnwindSafe for DetectConfig
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