pub struct SimulateReport {
pub rule_id: RuleId,
pub rule_name: String,
pub total_events: usize,
pub filter_matches: usize,
pub would_fire: usize,
pub would_suppress: usize,
pub matches: Vec<SimulateMatch>,
}Expand description
Full simulation report returned by simulate.
Fields§
§rule_id: RuleId§rule_name: String§total_events: usizeTotal events fed into the simulator.
filter_matches: usizeEvents that passed the compiled filter (superset of matches).
would_fire: usizeMatches that would fire the trigger.
would_suppress: usizeMatches that would be suppressed (debounce or rate threshold).
matches: Vec<SimulateMatch>Per-match detail, in input order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimulateReport
impl RefUnwindSafe for SimulateReport
impl Send for SimulateReport
impl Sync for SimulateReport
impl Unpin for SimulateReport
impl UnsafeUnpin for SimulateReport
impl UnwindSafe for SimulateReport
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