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
Fields
length: u8
VarChar
Fields
length: u8
VaryingCharacter
Fields
length: u8
Nchar
Fields
length: u8
NativeCharacter
Fields
length: u8
NvarChar
Fields
length: u8
Text
Clob
Blob
Real
Double
DoublePrecision
Float
Numeric
Decimal
Boolean
Date
DateTime
Timestamp
Implementations
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more