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
String
Enum
Decimal(usize, usize)
Date
Time
Timestamp
Integer(IntegerType)
Unknown
Json
Bson
Uuid
Trait Implementations
sourceimpl Clone for PrimitiveLogicalType
impl Clone for PrimitiveLogicalType
sourcefn 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
sourceimpl Debug for PrimitiveLogicalType
impl Debug for PrimitiveLogicalType
sourceimpl From<PrimitiveLogicalType> for ParquetLogicalType
impl From<PrimitiveLogicalType> for ParquetLogicalType
sourcefn from(type_: PrimitiveLogicalType) -> Self
fn from(type_: PrimitiveLogicalType) -> Self
Converts to this type from the input type.
sourceimpl Hash for PrimitiveLogicalType
impl Hash for PrimitiveLogicalType
sourceimpl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
impl PartialEq<PrimitiveLogicalType> for PrimitiveLogicalType
sourcefn 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
sourcefn ne(&self, other: &PrimitiveLogicalType) -> bool
fn ne(&self, other: &PrimitiveLogicalType) -> bool
This method tests for !=
.
sourceimpl TryFrom<LogicalType> for PrimitiveLogicalType
impl TryFrom<LogicalType> for PrimitiveLogicalType
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more