pub struct Workday {
pub start: NaiveDateTime,
pub end: Option<NaiveDateTime>,
}Expand description
When a workday began and, once it has, ended.
Fields§
§start: NaiveDateTime§end: Option<NaiveDateTime>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Workday
impl RefUnwindSafe for Workday
impl Send for Workday
impl Sync for Workday
impl Unpin for Workday
impl UnsafeUnpin for Workday
impl UnwindSafe for Workday
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