pub struct TzLocalizeOptions {
pub ambiguous: TzAmbiguousPolicy,
pub nonexistent: TzNonexistentPolicy,
}Fields§
§ambiguous: TzAmbiguousPolicy§nonexistent: TzNonexistentPolicyImplementations§
Source§impl TzLocalizeOptions
impl TzLocalizeOptions
Sourcepub fn per_value_policies(&self) -> Option<(AmbiguousTime, NonexistentTime)>
pub fn per_value_policies(&self) -> Option<(AmbiguousTime, NonexistentTime)>
These options as fp-types’ policies when each value’s answer is its
own: None for ambiguous ‘infer’ or an array (they read neighbours
or positions) and a timedelta nonexistent (its refusal is pandas’
ValueError, not a NonExistentTimeError; br-frankenpandas-6pqf3).
Trait Implementations§
Source§impl Clone for TzLocalizeOptions
impl Clone for TzLocalizeOptions
Source§impl Debug for TzLocalizeOptions
impl Debug for TzLocalizeOptions
Source§impl Default for TzLocalizeOptions
impl Default for TzLocalizeOptions
impl Eq for TzLocalizeOptions
Source§impl PartialEq for TzLocalizeOptions
impl PartialEq for TzLocalizeOptions
impl StructuralPartialEq for TzLocalizeOptions
Auto Trait Implementations§
impl Freeze for TzLocalizeOptions
impl RefUnwindSafe for TzLocalizeOptions
impl Send for TzLocalizeOptions
impl Sync for TzLocalizeOptions
impl Unpin for TzLocalizeOptions
impl UnsafeUnpin for TzLocalizeOptions
impl UnwindSafe for TzLocalizeOptions
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more