Enum parquet2::schema::types::PrimitiveLogicalType
source · 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,
}
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 From<PrimitiveLogicalType> for LogicalType
impl From<PrimitiveLogicalType> for LogicalType
source§fn from(type_: PrimitiveLogicalType) -> Self
fn from(type_: PrimitiveLogicalType) -> Self
Converts to this type from the input type.
source§impl Hash for PrimitiveLogicalType
impl Hash for PrimitiveLogicalType
source§impl PartialEq for PrimitiveLogicalType
impl PartialEq 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
impl Copy for PrimitiveLogicalType
impl Eq for PrimitiveLogicalType
impl StructuralPartialEq for PrimitiveLogicalType
Auto Trait Implementations§
impl Freeze for PrimitiveLogicalType
impl RefUnwindSafe for PrimitiveLogicalType
impl Send for PrimitiveLogicalType
impl Sync for PrimitiveLogicalType
impl Unpin for PrimitiveLogicalType
impl UnwindSafe for PrimitiveLogicalType
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