pub enum DbType {
Show 18 variants
VarChar,
Binary,
Int8,
Int16,
Int32,
Int64,
Float,
Double,
Boolean,
Date,
DateTime,
Timestamp,
Time,
Choices,
Uuid,
MacAddress,
IpNetwork,
BitVec,
}
Expand description
All column types supported by the migration tool
Variants§
VarChar
Binary
Int8
Int16
Int32
Int64
Float
Double
Boolean
Date
DateTime
Timestamp
Time
Choices
Uuid
MacAddress
IpNetwork
BitVec
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DbType
impl<'de> Deserialize<'de> for DbType
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
impl Copy for DbType
impl Eq for DbType
impl StructuralPartialEq for DbType
Auto Trait Implementations§
impl Freeze for DbType
impl RefUnwindSafe for DbType
impl Send for DbType
impl Sync for DbType
impl Unpin for DbType
impl UnwindSafe for DbType
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