pub struct TzOffset {
pub total_seconds: i32,
}Expand description
A resolved timezone offset in seconds from UTC.
Fields§
§total_seconds: i32Total offset from UTC in seconds (e.g. +28800 for UTC+8).
Implementations§
Trait Implementations§
impl Copy for TzOffset
impl Eq for TzOffset
impl StructuralPartialEq for TzOffset
Auto Trait Implementations§
impl Freeze for TzOffset
impl RefUnwindSafe for TzOffset
impl Send for TzOffset
impl Sync for TzOffset
impl Unpin for TzOffset
impl UnsafeUnpin for TzOffset
impl UnwindSafe for TzOffset
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