pub struct Slot {
pub start: DateTime<Local>,
pub end: Option<DateTime<Local>>,
pub id: u32,
pub title: String,
pub tags: Vec<String>,
}Expand description
One session (clipped to the report’s period) in the timeline.
Fields§
§start: DateTime<Local>When the session started (or the period started, if later).
end: Option<DateTime<Local>>None while still running.
id: u32Id of the task the session belongs to.
title: StringTitle of the task.
Tags of the task.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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