Enum senax_mysql_parser::common::SqlType
source · pub enum SqlType {
Show 34 variants
Bool,
Char(u32),
Varchar(u32),
Int,
UnsignedInt,
Smallint,
UnsignedSmallint,
Bigint,
UnsignedBigint,
Tinyint,
UnsignedTinyint,
Blob,
Longblob,
Mediumblob,
Tinyblob,
Double,
Float,
Real,
Tinytext,
Mediumtext,
Longtext,
Text,
Date,
Time,
DateTime(u16),
Timestamp(u16),
Binary(u16),
Varbinary(u16),
Enum(Vec<Literal>),
Set(Vec<Literal>),
Decimal(u16, u16),
Json,
Point,
Geometry,
}Variants§
Bool
Char(u32)
Varchar(u32)
Int
UnsignedInt
Smallint
UnsignedSmallint
Bigint
UnsignedBigint
Tinyint
UnsignedTinyint
Blob
Longblob
Mediumblob
Tinyblob
Double
Float
Real
Tinytext
Mediumtext
Longtext
Text
Date
Time
DateTime(u16)
Timestamp(u16)
Binary(u16)
Varbinary(u16)
Enum(Vec<Literal>)
Set(Vec<Literal>)
Decimal(u16, u16)
Json
Point
Geometry
Trait Implementations§
source§impl<'de> Deserialize<'de> for SqlType
impl<'de> Deserialize<'de> for SqlType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SqlType
impl PartialEq for SqlType
impl Eq for SqlType
impl StructuralEq for SqlType
impl StructuralPartialEq for SqlType
Auto Trait Implementations§
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