pub struct Report {
pub total: Duration,
pub rows: Vec<ReportRow>,
pub columns: Vec<String>,
pub column_totals: Vec<Duration>,
pub timeline: Vec<Slot>,
}Expand description
A computed report, rendered both in the desktop app and as markdown (export).
Fields§
§total: DurationReal tracked time; when grouping by tag, rows can add up to more (multi-tag tasks).
rows: Vec<ReportRow>Tasks (or tags) with tracked time, busiest first.
columns: Vec<String>Breakdown column labels (days of a week, weeks of a month); empty for hour/day.
column_totals: Vec<Duration>Sum of each breakdown column over all tasks.
timeline: Vec<Slot>Every session in the period, in start order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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