Struct iso_8601::GlobalTime[][src]

pub struct GlobalTime<N = HmsTime> where
    N: NaiveTime
{ pub local: LocalTime<N>, pub timezone: i16, }

Local time with timezone (4.2.4)

Fields

Difference from UTC in minutes (4.2.5.2)

Trait Implementations

impl<N: PartialEq> PartialEq for GlobalTime<N> where
    N: NaiveTime
[src]

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

This method tests for !=.

impl<N: Clone> Clone for GlobalTime<N> where
    N: NaiveTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Debug> Debug for GlobalTime<N> where
    N: NaiveTime
[src]

Formats the value using the given formatter. Read more

impl<N: NaiveTime> Timelike for GlobalTime<N>
[src]

impl FromStr for 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 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 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<N> Valid for GlobalTime<N> where
    N: NaiveTime + Valid
[src]

impl From<GlobalTime<HmsTime>> for GlobalTime<HmTime>
[src]

Performs the conversion.

impl From<GlobalTime<HmsTime>> for GlobalTime<HTime>
[src]

Performs the conversion.

impl From<GlobalTime<HmTime>> for GlobalTime<HTime>
[src]

Performs the conversion.

Auto Trait Implementations

impl<N> Send for GlobalTime<N> where
    N: Send

impl<N> Sync for GlobalTime<N> where
    N: Sync