pub struct CompiledRule { /* private fields */ }Implementations§
Source§impl CompiledRule
impl CompiledRule
Sourcepub fn is_filter(&self) -> bool
pub fn is_filter(&self) -> bool
Returns true if the rule is Type::Filter
Sourcepub fn is_detection(&self) -> bool
pub fn is_detection(&self) -> bool
Returns true if the rule is Type::Detection
Trait Implementations§
Source§impl Clone for CompiledRule
impl Clone for CompiledRule
Source§fn clone(&self) -> CompiledRule
fn clone(&self) -> CompiledRule
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 CompiledRule
impl Debug for CompiledRule
Source§impl Default for CompiledRule
impl Default for CompiledRule
Source§fn default() -> CompiledRule
fn default() -> CompiledRule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompiledRule
impl RefUnwindSafe for CompiledRule
impl Send for CompiledRule
impl Sync for CompiledRule
impl Unpin for CompiledRule
impl UnwindSafe for CompiledRule
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