pub enum PrimitiveLogicalType {
String,
Enum,
Decimal(usize, usize),
Date,
Time {
unit: TimeUnit,
is_adjusted_to_utc: bool,
},
Timestamp {
unit: TimeUnit,
is_adjusted_to_utc: bool,
},
Integer(IntegerType),
Unknown,
Json,
Bson,
Uuid,
}
Available on crate feature
io_parquet
only.Variants§
Trait Implementations§
source§impl Clone for PrimitiveLogicalType
impl Clone for PrimitiveLogicalType
source§fn clone(&self) -> PrimitiveLogicalType
fn clone(&self) -> PrimitiveLogicalType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrimitiveLogicalType
impl Debug for PrimitiveLogicalType
source§impl Hash for PrimitiveLogicalType
impl Hash for PrimitiveLogicalType
source§impl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
impl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
source§fn eq(&self, other: &PrimitiveLogicalType) -> bool
fn eq(&self, other: &PrimitiveLogicalType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<LogicalType> for PrimitiveLogicalType
impl TryFrom<LogicalType> for PrimitiveLogicalType
source§fn try_from(
type_: LogicalType
) -> Result<PrimitiveLogicalType, <PrimitiveLogicalType as TryFrom<LogicalType>>::Error>
fn try_from(
type_: LogicalType
) -> Result<PrimitiveLogicalType, <PrimitiveLogicalType as TryFrom<LogicalType>>::Error>
Performs the conversion.
impl Copy for PrimitiveLogicalType
impl Eq for PrimitiveLogicalType
impl StructuralEq for PrimitiveLogicalType
impl StructuralPartialEq for PrimitiveLogicalType
Auto Trait Implementations§
impl RefUnwindSafe for PrimitiveLogicalType
impl Send for PrimitiveLogicalType
impl Sync for PrimitiveLogicalType
impl Unpin for PrimitiveLogicalType
impl UnwindSafe for PrimitiveLogicalType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.