Struct iso_8601::ODate[][src]

pub struct ODate<Y: Year = i16> {
    pub year: Y,
    pub day: u16,
}

Ordinal date (4.1.3)

Fields

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

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

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

impl<Y> From<ODate<Y>> for YDate<Y> where
    Y: Year
[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<Y> From<YmdDate<Y>> for ODate<Y> where
    Y: Year
[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 ODate<Y> where
    Y: Send

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