pub enum AmbiguousTime {
Raise,
Earliest,
Latest,
NaT,
}Expand description
What tz_localize does with a wall time a DST change repeats (pandas’
ambiguous=, for one value): refuse it, take its first occurrence (DST,
pandas’ True) or its second (standard time, False), or make it NaT.
Variants§
Trait Implementations§
Source§impl Clone for AmbiguousTime
impl Clone for AmbiguousTime
impl Copy for AmbiguousTime
Source§impl Debug for AmbiguousTime
impl Debug for AmbiguousTime
impl Eq for AmbiguousTime
Source§impl PartialEq for AmbiguousTime
impl PartialEq for AmbiguousTime
impl StructuralPartialEq for AmbiguousTime
Auto Trait Implementations§
impl Forget for AmbiguousTime
impl Freeze for AmbiguousTime
impl Move for AmbiguousTime
impl RefUnwindSafe for AmbiguousTime
impl Send for AmbiguousTime
impl Sync for AmbiguousTime
impl Unpin for AmbiguousTime
impl UnsafeUnpin for AmbiguousTime
impl UnwindSafe for AmbiguousTime
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