pub struct CompiledDetectionItem {
pub field: Option<String>,
pub matcher: CompiledMatcher,
pub exists: Option<bool>,
}Expand description
A compiled detection item: a field + matcher.
Fields§
§field: Option<String>The field name to check (None for keyword items).
matcher: CompiledMatcherThe compiled matcher combining all values with appropriate logic.
exists: Option<bool>If Some(true), field must exist; Some(false), must not exist.
Trait Implementations§
Source§impl Clone for CompiledDetectionItem
impl Clone for CompiledDetectionItem
Source§fn clone(&self) -> CompiledDetectionItem
fn clone(&self) -> CompiledDetectionItem
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 CompiledDetectionItem
impl RefUnwindSafe for CompiledDetectionItem
impl Send for CompiledDetectionItem
impl Sync for CompiledDetectionItem
impl Unpin for CompiledDetectionItem
impl UnsafeUnpin for CompiledDetectionItem
impl UnwindSafe for CompiledDetectionItem
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