pub struct ProviderActiveDays {
pub claude: usize,
pub codex: usize,
pub copilot: usize,
pub gemini: usize,
pub opencode: usize,
pub cursor: usize,
pub hermes: usize,
pub grok: usize,
pub total: usize,
}Expand description
Tracks the number of active days per AI provider
Used for calculating daily averages when data is aggregated by model only. Day counts are derived from file modification dates during processing.
Fields§
§claude: usizeDistinct active days observed for Claude Code.
codex: usizeDistinct active days observed for Codex.
copilot: usizeDistinct active days observed for Copilot CLI.
gemini: usizeDistinct active days observed for Gemini CLI.
opencode: usizeDistinct active days observed for OpenCode.
cursor: usizeDistinct active days observed for Cursor.
hermes: usizeDistinct active days observed for Hermes.
grok: usizeDistinct active days observed for Grok CLI.
total: usizeDistinct active days across all providers combined.
Trait Implementations§
Source§impl Clone for ProviderActiveDays
impl Clone for ProviderActiveDays
Source§fn clone(&self) -> ProviderActiveDays
fn clone(&self) -> ProviderActiveDays
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 ProviderActiveDays
impl Debug for ProviderActiveDays
Source§impl Default for ProviderActiveDays
impl Default for ProviderActiveDays
Source§fn default() -> ProviderActiveDays
fn default() -> ProviderActiveDays
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProviderActiveDays
impl RefUnwindSafe for ProviderActiveDays
impl Send for ProviderActiveDays
impl Sync for ProviderActiveDays
impl Unpin for ProviderActiveDays
impl UnsafeUnpin for ProviderActiveDays
impl UnwindSafe for ProviderActiveDays
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