Struct iso_8601::WdDate[][src]

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

Week date (4.1.4.2)

Fields

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

impl<Y> From<Date<Y>> for WdDate<Y> where
    Y: Year,
    WdDate<Y>: From<ODate<Y>>,
    ODate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

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

Performs the conversion.

impl<Y> From<WdDate<Y>> for YmdDate<Y> where
    Y: Year,
    ODate<Y>: From<WdDate<Y>>, 
[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<WdDate<Y>> for YDate<Y> where
    Y: Year,
    YmdDate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

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

Performs the conversion.

impl From<ODate<i16>> for WdDate<i16>
[src]

Performs the conversion.

impl From<ODate<i32>> for WdDate<i32>
[src]

Performs the conversion.

impl From<ODate<i64>> for WdDate<i64>
[src]

Performs the conversion.

impl From<ODate<i128>> for WdDate<i128>
[src]

Performs the conversion.

impl From<ODate<isize>> for WdDate<isize>
[src]

Performs the conversion.

impl From<ODate<u16>> for WdDate<u16>
[src]

Performs the conversion.

impl From<ODate<u32>> for WdDate<u32>
[src]

Performs the conversion.

impl From<ODate<u64>> for WdDate<u64>
[src]

Performs the conversion.

impl From<ODate<u128>> for WdDate<u128>
[src]

Performs the conversion.

impl From<ODate<usize>> for WdDate<usize>
[src]

Performs the conversion.

impl From<WdDate<i16>> for ODate<i16>
[src]

Performs the conversion.

impl From<WdDate<i32>> for ODate<i32>
[src]

Performs the conversion.

impl From<WdDate<i64>> for ODate<i64>
[src]

Performs the conversion.

impl From<WdDate<i128>> for ODate<i128>
[src]

Performs the conversion.

impl From<WdDate<isize>> for ODate<isize>
[src]

Performs the conversion.

impl From<WdDate<u16>> for ODate<u16>
[src]

Performs the conversion.

impl From<WdDate<u32>> for ODate<u32>
[src]

Performs the conversion.

impl From<WdDate<u64>> for ODate<u64>
[src]

Performs the conversion.

impl From<WdDate<u128>> for ODate<u128>
[src]

Performs the conversion.

impl From<WdDate<usize>> for ODate<usize>
[src]

Performs the conversion.

Auto Trait Implementations

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

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