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
String
Enum
Decimal(usize, usize)
Date
Time
Timestamp
Integer(IntegerType)
Unknown
Json
Bson
Uuid
Trait Implementations
impl Clone for PrimitiveLogicalType
impl Clone for PrimitiveLogicalType
fn clone(&self) -> PrimitiveLogicalType
fn clone(&self) -> PrimitiveLogicalType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PrimitiveLogicalType
impl Debug for PrimitiveLogicalType
impl Hash for PrimitiveLogicalType
impl Hash for PrimitiveLogicalType
impl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
impl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
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 ==
. Read more
impl TryFrom<LogicalType> for PrimitiveLogicalType
impl TryFrom<LogicalType> for PrimitiveLogicalType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.