pub struct TzOffsetArg(pub i16);Expand description
A time-zone offset in minutes east of UTC.
Accepts the shapes people actually type — -08:00, +0530, -8,
330 — because the one thing a time-zone argument must not do is
silently mean a different zone than it looks like.
Tuple Fields§
§0: i16Trait Implementations§
Source§impl Clone for TzOffsetArg
impl Clone for TzOffsetArg
Source§fn clone(&self) -> TzOffsetArg
fn clone(&self) -> TzOffsetArg
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TzOffsetArg
impl Debug for TzOffsetArg
Source§impl FromStr for TzOffsetArg
impl FromStr for TzOffsetArg
impl Copy for TzOffsetArg
Auto Trait Implementations§
impl Freeze for TzOffsetArg
impl RefUnwindSafe for TzOffsetArg
impl Send for TzOffsetArg
impl Sync for TzOffsetArg
impl Unpin for TzOffsetArg
impl UnwindSafe for TzOffsetArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)