#[repr(u8)]pub enum DbDataType {
Show 14 variants
Boolean = 0,
Int8 = 1,
Int16 = 2,
Int32 = 3,
Int64 = 4,
Floating32 = 5,
Floating64 = 6,
Str = 7,
Binary = 8,
Date = 9,
Time = 10,
Datetime = 11,
Timestamp = 12,
Other = 13,
}
Expand description
Data types for a database column
Variants§
Boolean = 0
Int8 = 1
Int16 = 2
Int32 = 3
Int64 = 4
Floating32 = 5
Floating64 = 6
Str = 7
Binary = 8
Date = 9
Time = 10
Datetime = 11
Timestamp = 12
Other = 13
Trait Implementations§
Source§impl Clone for DbDataType
impl Clone for DbDataType
Source§fn clone(&self) -> DbDataType
fn clone(&self) -> DbDataType
Returns a copy 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 DbDataType
impl Debug for DbDataType
Source§impl PartialEq for DbDataType
impl PartialEq for DbDataType
impl Copy for DbDataType
impl Eq for DbDataType
impl StructuralPartialEq for DbDataType
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)