pub struct Day {
pub date: NaiveDate,
pub in_period: bool,
pub tracked: Duration,
pub events: Vec<Event>,
/* private fields */
}Expand description
One day of the calendar.
Fields§
§date: NaiveDateThe date.
in_period: boolWhether it’s in the period. A month’s grid starts on a Monday and ends on a Sunday, so its first and last weeks have days of the months around it, which stay empty.
tracked: DurationTime worked that day on the entries the tag filter keeps, by the clock: tasks that ran at once count that time once.
events: Vec<Event>One summary per entry with interactions shown, in time order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day
impl RefUnwindSafe for Day
impl Send for Day
impl Sync for Day
impl Unpin for Day
impl UnsafeUnpin for Day
impl UnwindSafe for Day
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