Struct iso_8601::DateTime[][src]

pub struct DateTime<D = YmdDate, T = GlobalTime> where
    D: Datelike,
    T: Timelike
{ pub date: D, pub time: T, }

Fields

Trait Implementations

impl<D: Eq, T: Eq> Eq for DateTime<D, T> where
    D: Datelike,
    T: Timelike
[src]

impl<D: PartialEq, T: PartialEq> PartialEq for DateTime<D, T> where
    D: Datelike,
    T: Timelike
[src]

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

This method tests for !=.

impl<D: Clone, T: Clone> Clone for DateTime<D, T> where
    D: Datelike,
    T: Timelike
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D: Debug, T: Debug> Debug for DateTime<D, T> where
    D: Datelike,
    T: Timelike
[src]

Formats the value using the given formatter. Read more

impl FromStr for DateTime<Date, GlobalTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, GlobalTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, GlobalTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, LocalTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, LocalTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, LocalTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, AnyTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, AnyTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, AnyTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, ApproxGlobalTime>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, ApproxLocalTime>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<Date, ApproxAnyTime>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, GlobalTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, GlobalTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, GlobalTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, LocalTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, LocalTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, LocalTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, AnyTime<HmsTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, AnyTime<HmTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, AnyTime<HTime>>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, ApproxGlobalTime>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, ApproxLocalTime>
[src]

The associated error which can be returned from parsing.

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

impl FromStr for DateTime<ApproxDate, ApproxAnyTime>
[src]

The associated error which can be returned from parsing.

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

impl<D, T> Valid for DateTime<D, T> where
    D: Datelike + Valid,
    T: Timelike + Valid
[src]

Auto Trait Implementations

impl<D, T> Send for DateTime<D, T> where
    D: Send,
    T: Send

impl<D, T> Sync for DateTime<D, T> where
    D: Sync,
    T: Sync