pub struct Month {
pub month: String,
pub days: Vec<MonthDay>,
pub total_seconds: i64,
pub average_seconds: i64,
pub productivity: Option<f64>,
}Expand description
A month: kasl sum.
Fields§
§month: StringYYYY-MM.
days: Vec<MonthDay>§total_seconds: i64§average_seconds: i64§productivity: Option<f64>The average over recorded days; null while there are none.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Month
impl RefUnwindSafe for Month
impl Send for Month
impl Sync for Month
impl Unpin for Month
impl UnsafeUnpin for Month
impl UnwindSafe for Month
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