pub struct SummaryEntry {
pub digital: String,
pub hours: u32,
pub minutes: u32,
pub name: String,
pub percent: f64,
pub seconds: u32,
pub text: String,
pub total_seconds: f64,
pub ai_additions: u32,
pub ai_deletions: u32,
pub human_additions: u32,
pub human_deletions: u32,
}Expand description
A single time-breakdown entry (language, project, editor, OS, etc.).
Fields§
§digital: StringHuman-readable duration in HH:MM format.
hours: u32Whole hours component.
minutes: u32Whole minutes component (0–59).
name: StringEntity name (e.g. "Python", "my-project").
percent: f64Percentage of total time for the period (0.0–100.0).
seconds: u32Whole seconds component (0–59).
The WakaTime API occasionally omits this field (e.g. in stats/all_time
project entries). Defaults to 0 when absent.
text: StringFull human-readable duration (e.g. "3 hrs 30 mins").
total_seconds: f64Total duration in seconds (fractional).
ai_additions: u32Lines added by AI coding assistants (present on project entries).
ai_deletions: u32Lines removed by AI coding assistants (present on project entries).
human_additions: u32Lines added by the developer via keyboard input (present on project entries).
human_deletions: u32Lines removed by the developer via keyboard input (present on project entries).
Trait Implementations§
Source§impl Clone for SummaryEntry
impl Clone for SummaryEntry
Source§fn clone(&self) -> SummaryEntry
fn clone(&self) -> SummaryEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more