pub struct AnalysisProviderStats {
pub total_edit_lines: usize,
pub total_read_lines: usize,
pub total_write_lines: usize,
pub total_bash_count: usize,
pub total_edit_count: usize,
pub total_read_count: usize,
pub total_todo_write_count: usize,
pub total_write_count: usize,
pub days_count: usize,
}Expand description
Per-provider totals for analysis. days_count records how many distinct
days contributed to the totals so the display layer can show the spread
without computing a rate.
Fields§
§total_edit_lines: usizeSum of Edit lines across the provider’s models.
total_read_lines: usizeSum of Read lines across the provider’s models.
total_write_lines: usizeSum of Write lines across the provider’s models.
total_bash_count: usizeSum of Bash tool calls across the provider’s models.
total_edit_count: usizeSum of Edit tool calls across the provider’s models.
total_read_count: usizeSum of Read tool calls across the provider’s models.
total_todo_write_count: usizeSum of TodoWrite tool calls across the provider’s models.
total_write_count: usizeSum of Write tool calls across the provider’s models.
days_count: usizeNumber of distinct days that contributed to these totals.
Trait Implementations§
Source§impl Clone for AnalysisProviderStats
impl Clone for AnalysisProviderStats
Source§fn clone(&self) -> AnalysisProviderStats
fn clone(&self) -> AnalysisProviderStats
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 Default for AnalysisProviderStats
impl Default for AnalysisProviderStats
Source§fn default() -> AnalysisProviderStats
fn default() -> AnalysisProviderStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisProviderStats
impl RefUnwindSafe for AnalysisProviderStats
impl Send for AnalysisProviderStats
impl Sync for AnalysisProviderStats
impl Unpin for AnalysisProviderStats
impl UnsafeUnpin for AnalysisProviderStats
impl UnwindSafe for AnalysisProviderStats
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