pub enum TzNonexistentPolicy {
Raise,
ShiftForward,
ShiftBackward,
NaT,
ShiftBy(Duration),
}Variants§
Implementations§
Source§impl TzNonexistentPolicy
impl TzNonexistentPolicy
Sourcepub fn shift_by_nanos(nanos: i64) -> Self
pub fn shift_by_nanos(nanos: i64) -> Self
pandas’ nonexistent=<timedelta> from its nanoseconds - for callers
that carry durations as nanoseconds rather than chrono’s Duration.
Trait Implementations§
Source§impl Clone for TzNonexistentPolicy
impl Clone for TzNonexistentPolicy
Source§impl Debug for TzNonexistentPolicy
impl Debug for TzNonexistentPolicy
impl Eq for TzNonexistentPolicy
Source§impl From<TimeDelta> for TzNonexistentPolicy
impl From<TimeDelta> for TzNonexistentPolicy
Source§impl PartialEq for TzNonexistentPolicy
impl PartialEq for TzNonexistentPolicy
impl StructuralPartialEq for TzNonexistentPolicy
Auto Trait Implementations§
impl Freeze for TzNonexistentPolicy
impl RefUnwindSafe for TzNonexistentPolicy
impl Send for TzNonexistentPolicy
impl Sync for TzNonexistentPolicy
impl Unpin for TzNonexistentPolicy
impl UnsafeUnpin for TzNonexistentPolicy
impl UnwindSafe for TzNonexistentPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.