Struct iso_8601::YmDate[][src]

pub struct YmDate<Y: Year = i16> {
    pub year: Y,
    pub month: u8,
}

A specific month (4.1.2.3a)

Fields

Trait Implementations

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

impl<Y: PartialEq + Year> PartialEq for YmDate<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 YmDate<Y>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

impl FromStr for YmDate
[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 YmDate<Y> where
    Y: Year
[src]

impl<Y> From<YmdDate<Y>> for YmDate<Y> where
    Y: Year
[src]

Performs the conversion.

impl<Y> From<YmDate<Y>> for YDate<Y> where
    Y: Year
[src]

Performs the conversion.

impl<Y> From<WdDate<Y>> for YmDate<Y> where
    Y: Year,
    YmdDate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

impl<Y> From<ODate<Y>> for YmDate<Y> where
    Y: Year
[src]

Performs the conversion.

Auto Trait Implementations

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

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