Struct libtzfile::TransitionTime
source · pub struct TransitionTime {
pub time: DateTime<Utc>,
pub utc_offset: isize,
pub isdst: bool,
pub abbreviation: String,
}
Expand description
The TransitionTime struct (available with the parse or json features) contains one transition time.
Fields§
§time: DateTime<Utc>
The UTC time and date of the transition time, BEFORE new parameters apply
utc_offset: isize
The UPCOMING offset to UTC
isdst: bool
Is upcoming change dst ?
abbreviation: String
TZ abbreviation of upcoming change
Trait Implementations§
source§impl Debug for TransitionTime
impl Debug for TransitionTime
source§impl PartialEq for TransitionTime
impl PartialEq for TransitionTime
source§fn eq(&self, other: &TransitionTime) -> bool
fn eq(&self, other: &TransitionTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitionTime
Auto Trait Implementations§
impl Freeze for TransitionTime
impl RefUnwindSafe for TransitionTime
impl Send for TransitionTime
impl Sync for TransitionTime
impl Unpin for TransitionTime
impl UnwindSafe for TransitionTime
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