pub enum SqlTypeName {
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§
Source§impl SqlTypeName
impl SqlTypeName
Trait Implementations§
Source§impl Clone for SqlTypeName
impl Clone for SqlTypeName
Source§fn clone(&self) -> SqlTypeName
fn clone(&self) -> SqlTypeName
Returns a duplicate 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 SqlTypeName
impl Debug for SqlTypeName
Source§impl Hash for SqlTypeName
impl Hash for SqlTypeName
Source§impl PartialEq for SqlTypeName
impl PartialEq for SqlTypeName
impl Eq for SqlTypeName
impl StructuralPartialEq for SqlTypeName
Auto Trait Implementations§
impl Freeze for SqlTypeName
impl RefUnwindSafe for SqlTypeName
impl Send for SqlTypeName
impl Sync for SqlTypeName
impl Unpin for SqlTypeName
impl UnsafeUnpin for SqlTypeName
impl UnwindSafe for SqlTypeName
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