Enum sea_schema::sqlite::def::Type
source · pub enum Type {
Show 28 variants
Int,
Integer,
TinyInt,
SmallInt,
MediumInt,
BigInt,
UnsignedBigInt,
Int2,
Int8,
Character {
length: u8,
},
VarChar {
length: u8,
},
VaryingCharacter {
length: u8,
},
Nchar {
length: u8,
},
NativeCharacter {
length: u8,
},
NvarChar {
length: u8,
},
Text,
Clob,
Blob,
Real,
Double,
DoublePrecision,
Float,
Numeric,
Decimal {
integral: u8,
fractional: u8,
},
Boolean,
Date,
DateTime,
Timestamp,
}
Available on crate features
sqlite
and def
only.Expand description
A list of the offical SQLite types as outline at the official SQLite Docs
Variants§
Int
Integer
TinyInt
SmallInt
MediumInt
BigInt
UnsignedBigInt
Int2
Int8
Character
VarChar
VaryingCharacter
Nchar
NativeCharacter
NvarChar
Text
Clob
Blob
Real
Double
DoublePrecision
Float
Numeric
Decimal
Boolean
Date
DateTime
Timestamp
Implementations§
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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