[][src]Enum rememberthemilk::TimeLeft

pub enum TimeLeft {
    Remaining(u64),
    Overdue(u64),
    Completed,
    NoDue,
}

Describes how much time is left to complete this task, or perhaps that it is overdue or has been deleted.

Variants

Remaining(u64)

The length of time in seconds until this item is due (in the future)

Overdue(u64)

The task is overdue by this count of seconds

Completed

Already completed

NoDue

No due date

Trait Implementations

impl Clone for TimeLeft[src]

impl Copy for TimeLeft[src]

impl Debug for TimeLeft[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.