pub enum SheetStatus {
PunchedIn(DateTime<Utc>),
PunchedOut(DateTime<Utc>),
Empty,
}Expand description
Whether or not time is currently being tracked.
Variants§
PunchedIn(DateTime<Utc>)
Time is currently being tracked, and has been since the given instant.
PunchedOut(DateTime<Utc>)
Time is not currently being tracked, as of the given instant.
Empty
No time has ever been tracked.
Trait Implementations§
Source§impl Clone for SheetStatus
impl Clone for SheetStatus
Source§fn clone(&self) -> SheetStatus
fn clone(&self) -> SheetStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SheetStatus
impl Debug for SheetStatus
Source§impl Ord for SheetStatus
impl Ord for SheetStatus
Source§fn cmp(&self, other: &SheetStatus) -> Ordering
fn cmp(&self, other: &SheetStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SheetStatus
impl PartialEq for SheetStatus
Source§impl PartialOrd for SheetStatus
impl PartialOrd for SheetStatus
impl Eq for SheetStatus
impl StructuralPartialEq for SheetStatus
Auto Trait Implementations§
impl Freeze for SheetStatus
impl RefUnwindSafe for SheetStatus
impl Send for SheetStatus
impl Sync for SheetStatus
impl Unpin for SheetStatus
impl UnwindSafe for SheetStatus
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