pub struct OverallStats {
pub total_rules: usize,
pub total_evaluations: u64,
pub total_fires: u64,
pub total_successes: u64,
pub avg_execution_time: Duration,
pub rules_per_second: f64,
pub success_rate: f64,
pub uptime: Duration,
}Expand description
Overall performance statistics
Fields§
§total_rules: usizeTotal number of unique rules
total_evaluations: u64Total rule evaluations
total_fires: u64Total rule fires
total_successes: u64Total successful executions
avg_execution_time: DurationAverage execution time across all rules
rules_per_second: f64Rules processed per second
success_rate: f64Overall success rate percentage
uptime: DurationHow long analytics has been running
Trait Implementations§
Source§impl Clone for OverallStats
impl Clone for OverallStats
Source§fn clone(&self) -> OverallStats
fn clone(&self) -> OverallStats
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 OverallStats
impl Debug for OverallStats
Source§impl<'de> Deserialize<'de> for OverallStats
impl<'de> Deserialize<'de> for OverallStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OverallStats
impl RefUnwindSafe for OverallStats
impl Send for OverallStats
impl Sync for OverallStats
impl Unpin for OverallStats
impl UnwindSafe for OverallStats
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