pub struct TimezoneOffset { /* private fields */ }
Expand description
A timezone offset with respect to UTC.
It is encoded as a number of minutes between -PT14H and PT14H.
Implementations§
Trait Implementations§
Source§impl Clone for TimezoneOffset
impl Clone for TimezoneOffset
Source§fn clone(&self) -> TimezoneOffset
fn clone(&self) -> TimezoneOffset
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimezoneOffset
impl Debug for TimezoneOffset
Source§impl Display for TimezoneOffset
impl Display for TimezoneOffset
Source§impl From<TimezoneOffset> for DayTimeDuration
impl From<TimezoneOffset> for DayTimeDuration
Source§fn from(value: TimezoneOffset) -> Self
fn from(value: TimezoneOffset) -> Self
Converts to this type from the input type.
Source§impl From<TimezoneOffset> for Duration
impl From<TimezoneOffset> for Duration
Source§fn from(value: TimezoneOffset) -> Self
fn from(value: TimezoneOffset) -> Self
Converts to this type from the input type.
Source§impl Hash for TimezoneOffset
impl Hash for TimezoneOffset
Source§impl Ord for TimezoneOffset
impl Ord for TimezoneOffset
Source§fn cmp(&self, other: &TimezoneOffset) -> Ordering
fn cmp(&self, other: &TimezoneOffset) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimezoneOffset
impl PartialEq for TimezoneOffset
Source§impl PartialOrd for TimezoneOffset
impl PartialOrd for TimezoneOffset
Source§impl TryFrom<DayTimeDuration> for TimezoneOffset
impl TryFrom<DayTimeDuration> for TimezoneOffset
Source§type Error = InvalidTimezoneError
type Error = InvalidTimezoneError
The type returned in the event of a conversion error.
Source§impl TryFrom<Duration> for TimezoneOffset
impl TryFrom<Duration> for TimezoneOffset
impl Copy for TimezoneOffset
impl Eq for TimezoneOffset
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 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