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,
}
Expand description
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
the hour part of the timezone offset from UTC
tz_offset_minutes: i32
the minute part of the timezone offset from UTC
Implementations§
Trait Implementations§
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more