pub struct TimezoneOffset(pub i16);Expand description
Timezone offset in minutes from UTC
Tuple Fields§
§0: i16Implementations§
Trait Implementations§
Source§impl Clone for TimezoneOffset
impl Clone for TimezoneOffset
Source§fn clone(&self) -> TimezoneOffset
fn clone(&self) -> TimezoneOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimezoneOffset
Source§impl Debug for TimezoneOffset
impl Debug for TimezoneOffset
Source§impl Display for TimezoneOffset
impl Display for TimezoneOffset
impl Eq for TimezoneOffset
Source§impl PartialEq for TimezoneOffset
impl PartialEq for TimezoneOffset
Source§fn eq(&self, other: &TimezoneOffset) -> bool
fn eq(&self, other: &TimezoneOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimezoneOffset
Auto Trait Implementations§
impl Freeze for TimezoneOffset
impl RefUnwindSafe for TimezoneOffset
impl Send for TimezoneOffset
impl Sync for TimezoneOffset
impl Unpin for TimezoneOffset
impl UnsafeUnpin for TimezoneOffset
impl UnwindSafe for TimezoneOffset
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