pub enum MySQLFieldType {
Show 27 variants
Decimal = 0,
Tiny = 1,
Short = 2,
Long = 3,
Float = 4,
Double = 5,
Null = 6,
Timestamp = 7,
LongLong = 8,
Int24 = 9,
Date = 10,
Time = 11,
DateTime = 12,
Year = 13,
NewDate = 14,
VarChar = 15,
Bit = 16,
NewDecimal = 246,
Enum = 247,
Set = 248,
TinyBlob = 249,
MediumBlob = 250,
LongBlob = 251,
Blob = 252,
VarString = 253,
String = 254,
Geometry = 255,
}Expand description
MySQL field types
Variants§
Decimal = 0
Tiny = 1
Short = 2
Long = 3
Float = 4
Double = 5
Null = 6
Timestamp = 7
LongLong = 8
Int24 = 9
Date = 10
Time = 11
DateTime = 12
Year = 13
NewDate = 14
VarChar = 15
Bit = 16
NewDecimal = 246
Enum = 247
Set = 248
TinyBlob = 249
MediumBlob = 250
LongBlob = 251
Blob = 252
VarString = 253
String = 254
Geometry = 255
Trait Implementations§
Source§impl Clone for MySQLFieldType
impl Clone for MySQLFieldType
Source§fn clone(&self) -> MySQLFieldType
fn clone(&self) -> MySQLFieldType
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 MySQLFieldType
impl Debug for MySQLFieldType
Source§impl PartialEq for MySQLFieldType
impl PartialEq for MySQLFieldType
impl StructuralPartialEq for MySQLFieldType
Auto Trait Implementations§
impl Freeze for MySQLFieldType
impl RefUnwindSafe for MySQLFieldType
impl Send for MySQLFieldType
impl Sync for MySQLFieldType
impl Unpin for MySQLFieldType
impl UnwindSafe for MySQLFieldType
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