pub struct MetricsAggregator {
pub total_sessions: u64,
pub avg_session_duration: f64,
pub avg_thoughts_per_session: f64,
pub avg_revisions_per_session: f64,
pub avg_branches_per_session: f64,
pub performance_trends: HashMap<String, Vec<f64>>,
}Expand description
Metrics aggregator for collecting and processing metrics
Fields§
§total_sessions: u64Total sessions analyzed
avg_session_duration: f64Average session duration
avg_thoughts_per_session: f64Average thoughts per session
avg_revisions_per_session: f64Average revisions per session
avg_branches_per_session: f64Average branches per session
performance_trends: HashMap<String, Vec<f64>>Performance trends
Trait Implementations§
Source§impl Clone for MetricsAggregator
impl Clone for MetricsAggregator
Source§fn clone(&self) -> MetricsAggregator
fn clone(&self) -> MetricsAggregator
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 MetricsAggregator
impl Debug for MetricsAggregator
Source§impl Default for MetricsAggregator
impl Default for MetricsAggregator
Auto Trait Implementations§
impl Freeze for MetricsAggregator
impl RefUnwindSafe for MetricsAggregator
impl Send for MetricsAggregator
impl Sync for MetricsAggregator
impl Unpin for MetricsAggregator
impl UnwindSafe for MetricsAggregator
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