pub struct RuleExplanation {
pub rule_title: String,
pub rule_id: Option<String>,
pub matched: bool,
pub conditions: Vec<ConditionTrace>,
}Expand description
A structured explanation of why a rule did or did not match an event.
Fields§
§rule_title: StringTitle of the explained rule.
rule_id: Option<String>Rule id, when the rule declares one.
matched: boolThe overall verdict: true iff the production engine would match.
conditions: Vec<ConditionTrace>One trace per condition expression on the rule (a rule matches if any condition matches).
Trait Implementations§
Source§impl Clone for RuleExplanation
impl Clone for RuleExplanation
Source§fn clone(&self) -> RuleExplanation
fn clone(&self) -> RuleExplanation
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 moreSource§impl Debug for RuleExplanation
impl Debug for RuleExplanation
Auto Trait Implementations§
impl Freeze for RuleExplanation
impl RefUnwindSafe for RuleExplanation
impl Send for RuleExplanation
impl Sync for RuleExplanation
impl Unpin for RuleExplanation
impl UnsafeUnpin for RuleExplanation
impl UnwindSafe for RuleExplanation
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