pub enum SigmaValue {
String(SigmaString),
Integer(i64),
Float(f64),
Bool(bool),
Null,
}Expand description
A typed value from a Sigma detection item.
Detection items can contain strings (with wildcards), numbers, booleans,
or null. The re modifier converts strings to regex, and cidr to CIDR.
Variants§
String(SigmaString)
String value (may contain wildcards)
Integer(i64)
Integer value
Float(f64)
Floating point value
Bool(bool)
Boolean value
Null
Null / empty value
Implementations§
Source§impl SigmaValue
impl SigmaValue
Trait Implementations§
Source§impl Clone for SigmaValue
impl Clone for SigmaValue
Source§fn clone(&self) -> SigmaValue
fn clone(&self) -> SigmaValue
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 SigmaValue
impl Debug for SigmaValue
Source§impl Display for SigmaValue
impl Display for SigmaValue
Source§impl PartialEq for SigmaValue
impl PartialEq for SigmaValue
Source§impl Serialize for SigmaValue
impl Serialize for SigmaValue
impl StructuralPartialEq for SigmaValue
Auto Trait Implementations§
impl Freeze for SigmaValue
impl RefUnwindSafe for SigmaValue
impl Send for SigmaValue
impl Sync for SigmaValue
impl Unpin for SigmaValue
impl UnsafeUnpin for SigmaValue
impl UnwindSafe for SigmaValue
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