pub enum DataType {
Show 25 variants
Boolean,
Int8,
Int16,
Int32,
Int,
Int128,
Uint8,
Uint16,
Uint32,
Uint64,
Uint128,
Float32,
Float,
Text,
Bytea,
Inet,
Date,
Timestamp,
Time,
Interval,
Uuid,
Map,
List,
Decimal,
Point,
}
Variants§
Boolean
Int8
Int16
Int32
Int
Int128
Uint8
Uint16
Uint32
Uint64
Uint128
Float32
Float
Text
Bytea
Inet
Date
Timestamp
Time
Interval
Uuid
Map
List
Decimal
Point
Trait Implementations§
source§impl<'de> Deserialize<'de> for DataType
impl<'de> Deserialize<'de> for DataType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DataType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DataType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DataType> for DataTypeNode
impl From<DataType> for DataTypeNode
source§fn from(data_type: DataType) -> DataTypeNode
fn from(data_type: DataType) -> DataTypeNode
Converts to this type from the input type.
source§impl PartialEq for DataType
impl PartialEq for DataType
source§impl Serialize for DataType
impl Serialize for DataType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<DataTypeNode> for DataType
impl TryFrom<DataTypeNode> for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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
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.