[][src]Struct iso8601::Time

pub struct Time {
    pub hour: u32,
    pub minute: u32,
    pub second: u32,
    pub millisecond: u32,
    pub tz_offset_hours: i32,
    pub tz_offset_minutes: i32,
}

A time object

Fields

hour: u32

a 24th of a day

minute: u32

60 discrete parts of an hour

second: u32

a minute are 60 of these

millisecond: u32

everything after a .

tz_offset_hours: i32

depends on where you're at

tz_offset_minutes: i32

Methods

impl Time[src]

pub fn set_tz(&self, tzo: (i32, i32)) -> Time[src]

Trait Implementations

impl Eq for Time[src]

impl Clone for Time[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Time[src]

impl PartialEq<Time> for Time[src]

impl Default for Time[src]

impl Debug for Time[src]

impl Display for Time[src]

impl FromStr for Time[src]

type Err = String

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Send for Time

impl Sync for Time

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]