pub struct Time {
pub unix_millis: i64,
pub utc_offset_seconds: i32,
}Expand description
The time on the host’s clock.
Fields§
§unix_millis: i64Milliseconds since the start of 1970, UTC.
utc_offset_seconds: i32How far local time is ahead of UTC, in seconds.
Trait Implementations§
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Forget for Time
impl Freeze for Time
impl Move for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin 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