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 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
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 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