[][src]Enum acari_lib::Day

pub enum Day {
    Today,
    Yesterday,
    Date(NaiveDate),
}

Variants

Today
Yesterday
Date(NaiveDate)

Methods

impl Day[src]

pub fn query_param(self) -> String[src]

pub fn as_date(self) -> NaiveDate[src]

Trait Implementations

impl Clone for Day[src]

impl Copy for Day[src]

impl Debug for Day[src]

impl Eq for Day[src]

impl From<Day> for DateSpan[src]

impl From<NaiveDate> for Day[src]

impl FromStr for Day[src]

type Err = AcariError

The associated error which can be returned from parsing.

impl PartialEq<Day> for Day[src]

impl StructuralEq for Day[src]

impl StructuralPartialEq for Day[src]

Auto Trait Implementations

impl RefUnwindSafe for Day

impl Send for Day

impl Sync for Day

impl Unpin for Day

impl UnwindSafe for Day

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,