Enum iso_8601::ApproxDate[][src]

pub enum ApproxDate<Y: Year = i16> {
    YMD(YmdDate<Y>),
    YM(YmDate<Y>),
    Y(YDate<Y>),
    C(CDate),
    WD(WdDate<Y>),
    W(WDate<Y>),
    O(ODate<Y>),
}

Date representations with reduced accuracy

Variants

Trait Implementations

impl<Y: Eq + Year> Eq for ApproxDate<Y>
[src]

impl<Y: PartialEq + Year> PartialEq for ApproxDate<Y>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Y: Clone + Year> Clone for ApproxDate<Y>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Y: Debug + Year> Debug for ApproxDate<Y>
[src]

Formats the value using the given formatter. Read more

impl<Y: Year> Datelike<Y> for ApproxDate<Y>
[src]

impl FromStr for ApproxDate
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl<Y> Valid for ApproxDate<Y> where
    Y: Year + Clone
[src]

impl<Y> From<Date<Y>> for ApproxDate<Y> where
    Y: Year
[src]

Performs the conversion.

Auto Trait Implementations

impl<Y> Send for ApproxDate<Y> where
    Y: Send

impl<Y> Sync for ApproxDate<Y> where
    Y: Sync