pub enum DFTimeUnit {
Nanosecond,
Microsecond,
Millisecond,
Second,
}Expand description
Time unit for reading Parquet INT96 timestamps
This enum validates coerce_int96 at configuration time, so only ns,
us, ms or s can be set via SET commands or deserialization.
Variants§
Trait Implementations§
Source§impl Clone for DFTimeUnit
impl Clone for DFTimeUnit
Source§impl ConfigField for DFTimeUnit
impl ConfigField for DFTimeUnit
impl Copy for DFTimeUnit
Source§impl Debug for DFTimeUnit
impl Debug for DFTimeUnit
Source§impl Display for DFTimeUnit
impl Display for DFTimeUnit
impl Eq for DFTimeUnit
Source§impl From<DFTimeUnit> for TimeUnit
impl From<DFTimeUnit> for TimeUnit
Source§fn from(value: DFTimeUnit) -> Self
fn from(value: DFTimeUnit) -> Self
Converts to this type from the input type.
Source§impl FromStr for DFTimeUnit
impl FromStr for DFTimeUnit
Source§impl PartialEq for DFTimeUnit
impl PartialEq for DFTimeUnit
impl StructuralPartialEq for DFTimeUnit
Auto Trait Implementations§
impl Forget for DFTimeUnit
impl Freeze for DFTimeUnit
impl Move for DFTimeUnit
impl RefUnwindSafe for DFTimeUnit
impl Send for DFTimeUnit
impl Sync for DFTimeUnit
impl Unpin for DFTimeUnit
impl UnsafeUnpin for DFTimeUnit
impl UnwindSafe for DFTimeUnit
Blanket Implementations§
impl<T> Allocation for T
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§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