Struct iso8601::Time
[−]
[src]
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]
Trait Implementations
impl Eq for Time
[src]
impl PartialEq for Time
[src]
fn eq(&self, __arg_0: &Time) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Time) -> bool
[src]
This method tests for !=
.
impl Debug for Time
[src]
impl Copy for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more