pub enum SqlType {
Show 28 variants
Bool,
UInt8,
UInt16,
UInt32,
UInt64,
UInt128,
Int8,
Int16,
Int32,
Int64,
Int128,
String,
FixedString(usize),
Float32,
Float64,
Date,
DateTime(DateTimeType),
Ipv4,
Ipv6,
Uuid,
Nullable(&'static SqlType),
Array(&'static SqlType),
LowCardinality(&'static SqlType),
Decimal(u8, u8),
Enum8(Vec<(String, i8)>),
Enum16(Vec<(String, i16)>),
SimpleAggregateFunction(SimpleAggFunc, &'static SqlType),
Map(&'static SqlType, &'static SqlType),
}Variants§
Bool
UInt8
UInt16
UInt32
UInt64
UInt128
Int8
Int16
Int32
Int64
Int128
String
FixedString(usize)
Float32
Float64
Date
DateTime(DateTimeType)
Ipv4
Ipv6
Uuid
Nullable(&'static SqlType)
Array(&'static SqlType)
LowCardinality(&'static SqlType)
Decimal(u8, u8)
Enum8(Vec<(String, i8)>)
Enum16(Vec<(String, i16)>)
SimpleAggregateFunction(SimpleAggFunc, &'static SqlType)
Map(&'static SqlType, &'static SqlType)
Implementations§
Trait Implementations§
impl Eq for SqlType
impl StructuralPartialEq for SqlType
Auto Trait Implementations§
impl Freeze for SqlType
impl RefUnwindSafe for SqlType
impl Send for SqlType
impl Sync for SqlType
impl Unpin for SqlType
impl UnwindSafe for SqlType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more