pub enum DatumType {
Bit,
Tinyint,
Smallint,
Integer,
Bigint,
Float,
Double,
String,
Timestamp,
Date,
Time,
}Expand description
Types of values that column can be converted to.
Variants§
Bit
Use Column::into_bool() to get column value.
Tinyint
Use Column::into_i8() to get column value.
Smallint
Use Column::into_i16() to get column value.
Integer
Use Column::into_i32() to get column value.
Bigint
Use Column::into_i64() to get column value.
Float
Use Column::into_f32() to get column value.
Double
Use Column::into_f64() to get column value.
String
Use Column::into_string() to get column value.
Timestamp
Use Column::into_timestamp() to get column value.
Date
Use Column::into_date() to get column value.
Time
Use Column::into_time() to get column value.
Implementations§
Trait Implementations§
impl Copy for DatumType
impl StructuralPartialEq for DatumType
Auto Trait Implementations§
impl Freeze for DatumType
impl RefUnwindSafe for DatumType
impl Send for DatumType
impl Sync for DatumType
impl Unpin for DatumType
impl UnwindSafe for DatumType
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