pub enum FieldSource {
Detection,
Correlation,
Filter,
Metadata,
}Expand description
Where in a rule a field reference came from.
Variants§
Detection
Field used in a detection condition (selection, etc.).
Correlation
Field used by a correlation rule (group-by, threshold field, alias mapping).
Filter
Field used in a filter rule’s detection block.
Metadata
Field listed in rule-level fields: metadata.
Implementations§
Trait Implementations§
Source§impl Clone for FieldSource
impl Clone for FieldSource
Source§fn clone(&self) -> FieldSource
fn clone(&self) -> FieldSource
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 moreimpl Copy for FieldSource
Source§impl Debug for FieldSource
impl Debug for FieldSource
impl Eq for FieldSource
Source§impl Hash for FieldSource
impl Hash for FieldSource
Source§impl Ord for FieldSource
impl Ord for FieldSource
Source§fn cmp(&self, other: &FieldSource) -> Ordering
fn cmp(&self, other: &FieldSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FieldSource
impl PartialEq for FieldSource
Source§fn eq(&self, other: &FieldSource) -> bool
fn eq(&self, other: &FieldSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FieldSource
impl PartialOrd for FieldSource
Source§impl Serialize for FieldSource
impl Serialize for FieldSource
impl StructuralPartialEq for FieldSource
Auto Trait Implementations§
impl Freeze for FieldSource
impl RefUnwindSafe for FieldSource
impl Send for FieldSource
impl Sync for FieldSource
impl Unpin for FieldSource
impl UnsafeUnpin for FieldSource
impl UnwindSafe for FieldSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.