pub enum DataType {
Show 27 variants
Int8,
Int16,
Int,
Int64,
Int128,
UInt8,
UInt16,
UInt,
UInt64,
UInt128,
Text,
Char(u32),
VarChar(u32),
Binary(u32),
VarBinary(u32),
Enum(Vec<String>),
Boolean,
Float32,
Float,
Decimal {
precision: Option<u32>,
scale: Option<u32>,
},
Blob,
Date,
Time,
DateTime,
TimeWithTimeZone,
IntervalYearMonth,
IntervalDaySecond,
}Variants§
Int8
Int16
Int
Int64
Int128
UInt8
UInt16
UInt
UInt64
UInt128
Text
Char(u32)
VarChar(u32)
Binary(u32)
VarBinary(u32)
Enum(Vec<String>)
Boolean
Float32
Float
Decimal
Blob
Date
Time
DateTime
TimeWithTimeZone
IntervalYearMonth
IntervalDaySecond
Implementations§
Trait Implementations§
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin 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