pub struct SigmaCollection {
pub rules: Vec<SigmaRule>,
pub correlations: Vec<CorrelationRule>,
pub filters: Vec<FilterRule>,
pub errors: Vec<String>,
}Expand description
A collection of parsed Sigma documents from one or more YAML files.
Fields§
§rules: Vec<SigmaRule>§correlations: Vec<CorrelationRule>§filters: Vec<FilterRule>§errors: Vec<String>Parsing errors that were collected (when collect_errors is true).
Implementations§
Trait Implementations§
Source§impl Clone for SigmaCollection
impl Clone for SigmaCollection
Source§fn clone(&self) -> SigmaCollection
fn clone(&self) -> SigmaCollection
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 SigmaCollection
impl Debug for SigmaCollection
Source§impl Default for SigmaCollection
impl Default for SigmaCollection
Auto Trait Implementations§
impl Freeze for SigmaCollection
impl RefUnwindSafe for SigmaCollection
impl Send for SigmaCollection
impl Sync for SigmaCollection
impl Unpin for SigmaCollection
impl UnsafeUnpin for SigmaCollection
impl UnwindSafe for SigmaCollection
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