pub struct DetectOpts {
pub max_depth: usize,
pub pattern_ids: Option<HashSet<String>>,
}Expand description
Options controlling detection behaviour.
Fields§
§max_depth: usizeMaximum cycle/path length in edges (default: 6).
pattern_ids: Option<HashSet<String>>Which pattern IDs to check. None means all.
Trait Implementations§
Source§impl Clone for DetectOpts
impl Clone for DetectOpts
Source§fn clone(&self) -> DetectOpts
fn clone(&self) -> DetectOpts
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 DetectOpts
impl Debug for DetectOpts
Auto Trait Implementations§
impl Freeze for DetectOpts
impl RefUnwindSafe for DetectOpts
impl Send for DetectOpts
impl Sync for DetectOpts
impl Unpin for DetectOpts
impl UnsafeUnpin for DetectOpts
impl UnwindSafe for DetectOpts
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