Enum psl::builtin_connectors::MySqlType
source · pub enum MySqlType {
Show 32 variants
Int,
UnsignedInt,
SmallInt,
UnsignedSmallInt,
TinyInt,
UnsignedTinyInt,
MediumInt,
UnsignedMediumInt,
BigInt,
Decimal(Option<(u32, u32)>),
UnsignedBigInt,
Float,
Double,
Bit(u32),
Char(u32),
VarChar(u32),
Binary(u32),
VarBinary(u32),
TinyBlob,
Blob,
MediumBlob,
LongBlob,
TinyText,
Text,
MediumText,
LongText,
Date,
Time(Option<u32>),
DateTime(Option<u32>),
Timestamp(Option<u32>),
Year,
Json,
}
Expand description
The MySQL native type enum.
Variants§
Int
UnsignedInt
SmallInt
UnsignedSmallInt
TinyInt
UnsignedTinyInt
MediumInt
UnsignedMediumInt
BigInt
Decimal(Option<(u32, u32)>)
UnsignedBigInt
Float
Double
Bit(u32)
Char(u32)
VarChar(u32)
Binary(u32)
VarBinary(u32)
TinyBlob
Blob
MediumBlob
LongBlob
TinyText
Text
MediumText
LongText
Date
Time(Option<u32>)
DateTime(Option<u32>)
Timestamp(Option<u32>)
Year
Json
Implementations§
Trait Implementations§
source§impl PartialEq for MySqlType
impl PartialEq for MySqlType
impl Copy for MySqlType
impl StructuralPartialEq for MySqlType
Auto Trait Implementations§
impl RefUnwindSafe for MySqlType
impl Send for MySqlType
impl Sync for MySqlType
impl Unpin for MySqlType
impl UnwindSafe for MySqlType
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