Struct iso_8601::WDate[][src]

pub struct WDate<Y: Year = i16> {
    pub year: Y,
    pub week: u8,
}

A specific week (4.1.4.3)

Fields

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

impl<Y> From<WdDate<Y>> for WDate<Y> where
    Y: Year
[src]

Performs the conversion.

Auto Trait Implementations

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

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