pub enum ColumnType {
}Expand description
A result column’s Db2 data type, as an SQLDA’s SQLTYPE and SQLLEN give it.
Variants§
Char(u16)
VarChar(u16)
Graphic(u16)
GRAPHIC and VARGRAPHIC, their lengths in DBCS characters.
VarGraphic(u16)
SmallInt
Integer
BigInt
Decimal
Real
Double
Date
Time
Timestamp(u8)
TIMESTAMP(p).
Binary(u16)
VarBinary(u16)
Other(String)
A type the backend names that has no Db2 counterpart; DESCRIBE refuses it by this name.
Trait Implementations§
Source§impl Clone for ColumnType
impl Clone for ColumnType
Source§fn clone(&self) -> ColumnType
fn clone(&self) -> ColumnType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnType
impl Debug for ColumnType
impl Eq for ColumnType
Source§impl PartialEq for ColumnType
impl PartialEq for ColumnType
impl StructuralPartialEq for ColumnType
Auto Trait Implementations§
impl Freeze for ColumnType
impl RefUnwindSafe for ColumnType
impl Send for ColumnType
impl Sync for ColumnType
impl Unpin for ColumnType
impl UnsafeUnpin for ColumnType
impl UnwindSafe for ColumnType
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