pub enum NonexistentTime {
Raise,
ShiftForward,
ShiftBackward,
NaT,
Shift(i64),
}Expand description
What tz_localize does with a wall time a DST change skips (pandas’
nonexistent=): refuse it, move it to the first instant after the gap
(shift_forward) or the last nanosecond before it (shift_backward),
make it NaT, or move the wall time by a duration (nanoseconds) and
localize that.
Variants§
Trait Implementations§
Source§impl Clone for NonexistentTime
impl Clone for NonexistentTime
impl Copy for NonexistentTime
Source§impl Debug for NonexistentTime
impl Debug for NonexistentTime
impl Eq for NonexistentTime
Source§impl PartialEq for NonexistentTime
impl PartialEq for NonexistentTime
impl StructuralPartialEq for NonexistentTime
Auto Trait Implementations§
impl Forget for NonexistentTime
impl Freeze for NonexistentTime
impl Move for NonexistentTime
impl RefUnwindSafe for NonexistentTime
impl Send for NonexistentTime
impl Sync for NonexistentTime
impl Unpin for NonexistentTime
impl UnsafeUnpin for NonexistentTime
impl UnwindSafe for NonexistentTime
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