pub struct AnalysisData {
pub rows: Vec<AggregatedAnalysisRow>,
pub per_provider: PerProviderAnalysisRows,
pub provider_days: ProviderActiveDays,
}Expand description
Bundle of aggregated analysis rows plus the per-provider active-day counts the display layer needs for daily averages.
Fields§
§rows: Vec<AggregatedAnalysisRow>Rows aggregated across all providers, keyed by model name.
Drives the main per-model table. Same-named models from different
providers (e.g. Copilot CLI + Claude Code both using
claude-sonnet-4-6) share a single row here.
per_provider: PerProviderAnalysisRowsSame aggregation, but partitioned by source directory rather
than by model name. Drives the per-provider summary footer so
Copilot-originated sessions cannot be mis-attributed to Claude Code
just because their model name starts with claude-.
provider_days: ProviderActiveDaysDistinct active-day count per provider, used to derive daily averages.
Trait Implementations§
Source§impl Clone for AnalysisData
impl Clone for AnalysisData
Source§fn clone(&self) -> AnalysisData
fn clone(&self) -> AnalysisData
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 AnalysisData
impl Debug for AnalysisData
Auto Trait Implementations§
impl Freeze for AnalysisData
impl RefUnwindSafe for AnalysisData
impl Send for AnalysisData
impl Sync for AnalysisData
impl Unpin for AnalysisData
impl UnsafeUnpin for AnalysisData
impl UnwindSafe for AnalysisData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more