pub enum DbDataType {
Show 25 variants
Boolean,
Int8,
Int16,
Int32,
Int64,
Floating32,
Floating64,
Str,
Binary,
Date,
Time,
Datetime,
Timestamp,
Uuid,
Jsonb,
Decimal,
RangeInt32,
RangeInt64,
RangeDecimal,
ArrayInt32,
ArrayInt64,
ArrayDecimal,
ArrayStr,
Interval,
Other(String),
}Expand description
Data types for a database column
Variants§
Boolean
Int8
Int16
Int32
Int64
Floating32
Floating64
Str
Binary
Date
Time
Datetime
Timestamp
Uuid
Jsonb
Decimal
RangeInt32
RangeInt64
RangeDecimal
ArrayInt32
ArrayInt64
ArrayDecimal
ArrayStr
Interval
Other(String)
Trait Implementations§
Source§impl Clone for DbDataType
impl Clone for DbDataType
Source§fn clone(&self) -> DbDataType
fn clone(&self) -> DbDataType
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 moreAuto Trait Implementations§
impl Freeze for DbDataType
impl RefUnwindSafe for DbDataType
impl Send for DbDataType
impl Sync for DbDataType
impl Unpin for DbDataType
impl UnwindSafe for DbDataType
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