pub struct TransitionInfo {
pub type_index: u8,
pub kind: TransitionKind,
}Expand description
TZif transition info beyond the timestamp and civil datetime.
For example, this contains a transition’s “local type index,” which in turn gives access to the offset (among other metadata) for that transition.
Fields§
§type_index: u8The index into the sequence of local time type records. This is what provides the correct offset (from UTC) that is active beginning at this transition.
kind: TransitionKindThe boundary condition for quickly determining if a given wall clock time is ambiguous (i.e., falls in a gap or a fold).
Trait Implementations§
Source§impl Clone for TransitionInfo
impl Clone for TransitionInfo
impl Copy for TransitionInfo
Auto Trait Implementations§
impl Forget for TransitionInfo
impl Freeze for TransitionInfo
impl Move for TransitionInfo
impl RefUnwindSafe for TransitionInfo
impl Send for TransitionInfo
impl Sync for TransitionInfo
impl Unpin for TransitionInfo
impl UnsafeUnpin for TransitionInfo
impl UnwindSafe for TransitionInfo
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