pub struct TimeStampOffset {
pub hours: i8,
pub minutes: u8,
}
Expand description
A parsed timezone offset in hours and minutes
Fields§
§hours: i8
The hours offset from UTC. Note: if this value is negative, the timezone is behind UTC, if positive, it is ahead of UTC.
minutes: u8
The minutes offset from UTC
Trait Implementations§
Source§impl Clone for TimeStampOffset
impl Clone for TimeStampOffset
Source§fn clone(&self) -> TimeStampOffset
fn clone(&self) -> TimeStampOffset
Returns a duplicate 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 TimeStampOffset
impl Debug for TimeStampOffset
Source§impl Default for TimeStampOffset
impl Default for TimeStampOffset
Source§fn default() -> TimeStampOffset
fn default() -> TimeStampOffset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeStampOffset
impl<'de> Deserialize<'de> for TimeStampOffset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TimeStampOffset
impl Display for TimeStampOffset
Source§impl PartialEq for TimeStampOffset
impl PartialEq for TimeStampOffset
Source§impl Serialize for TimeStampOffset
impl Serialize for TimeStampOffset
impl Copy for TimeStampOffset
impl Eq for TimeStampOffset
impl StructuralPartialEq for TimeStampOffset
Auto Trait Implementations§
impl Freeze for TimeStampOffset
impl RefUnwindSafe for TimeStampOffset
impl Send for TimeStampOffset
impl Sync for TimeStampOffset
impl Unpin for TimeStampOffset
impl UnwindSafe for TimeStampOffset
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