pub enum EntrySource {
Manual,
Hook,
Added,
}Expand description
How a time entry was created.
Variants§
Manual
Created via stint start / stint stop.
Hook
Created automatically by a shell hook.
Added
Added retroactively via stint add.
Implementations§
Source§impl EntrySource
impl EntrySource
Trait Implementations§
Source§impl Clone for EntrySource
impl Clone for EntrySource
Source§fn clone(&self) -> EntrySource
fn clone(&self) -> EntrySource
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 EntrySource
impl Debug for EntrySource
Source§impl PartialEq for EntrySource
impl PartialEq for EntrySource
impl Eq for EntrySource
impl StructuralPartialEq for EntrySource
Auto Trait Implementations§
impl Freeze for EntrySource
impl RefUnwindSafe for EntrySource
impl Send for EntrySource
impl Sync for EntrySource
impl Unpin for EntrySource
impl UnsafeUnpin for EntrySource
impl UnwindSafe for EntrySource
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