pub enum DueFilter {
Overdue,
Soon,
WithDue,
NoDue,
}Expand description
Filters tasks by their due-date window.
Used by todo list --due.
Variants§
Overdue
Tasks whose due date is strictly before today.
Soon
Tasks due within the next 7 days (inclusive of today).
WithDue
Tasks that have any due date set.
NoDue
Tasks that have no due date.
Trait Implementations§
impl Copy for DueFilter
impl Eq for DueFilter
impl StructuralPartialEq for DueFilter
Auto Trait Implementations§
impl Freeze for DueFilter
impl RefUnwindSafe for DueFilter
impl Send for DueFilter
impl Sync for DueFilter
impl Unpin for DueFilter
impl UnsafeUnpin for DueFilter
impl UnwindSafe for DueFilter
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