pub struct RuleEngineStats {
pub total_rules: usize,
pub enabled_rules: usize,
pub evaluations: u64,
pub matches: u64,
pub actions_executed: u64,
pub by_priority: HashMap<u8, usize>,
pub by_tag: HashMap<String, usize>,
}Expand description
Statistics for the rule engine
Fields§
§total_rules: usizeTotal rules
enabled_rules: usizeEnabled rules
evaluations: u64Total evaluations
matches: u64Total matches
actions_executed: u64Total actions executed
by_priority: HashMap<u8, usize>Rules by priority
by_tag: HashMap<String, usize>Rules by tag
Trait Implementations§
Source§impl Clone for RuleEngineStats
impl Clone for RuleEngineStats
Source§fn clone(&self) -> RuleEngineStats
fn clone(&self) -> RuleEngineStats
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 RuleEngineStats
impl Debug for RuleEngineStats
Source§impl Default for RuleEngineStats
impl Default for RuleEngineStats
Source§fn default() -> RuleEngineStats
fn default() -> RuleEngineStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuleEngineStats
impl RefUnwindSafe for RuleEngineStats
impl Send for RuleEngineStats
impl Sync for RuleEngineStats
impl Unpin for RuleEngineStats
impl UnsafeUnpin for RuleEngineStats
impl UnwindSafe for RuleEngineStats
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