Enum odbc_iter::odbc_type::ffi::SqlDataType
pub enum SqlDataType {
Show 31 variants
SQL_UNKNOWN_TYPE,
SQL_CHAR,
SQL_NUMERIC,
SQL_DECIMAL,
SQL_INTEGER,
SQL_SMALLINT,
SQL_FLOAT,
SQL_REAL,
SQL_DOUBLE,
SQL_DATETIME,
SQL_VARCHAR,
SQL_DATE,
SQL_TIME,
SQL_TIMESTAMP,
SQL_EXT_LONGVARCHAR,
SQL_EXT_BINARY,
SQL_EXT_VARBINARY,
SQL_EXT_LONGVARBINARY,
SQL_EXT_BIGINT,
SQL_EXT_TINYINT,
SQL_EXT_BIT,
SQL_EXT_WCHAR,
SQL_EXT_WVARCHAR,
SQL_EXT_WLONGVARCHAR,
SQL_EXT_GUID,
SQL_SS_VARIANT,
SQL_SS_UDT,
SQL_SS_XML,
SQL_SS_TABLE,
SQL_SS_TIME2,
SQL_SS_TIMESTAMPOFFSET,
}
Expand description
SQL Data Types
Variants§
SQL_UNKNOWN_TYPE
SQL_CHAR
SQL_NUMERIC
SQL_DECIMAL
SQL_INTEGER
SQL_SMALLINT
SQL_FLOAT
SQL_REAL
SQL_DOUBLE
SQL_DATETIME
SQL_VARCHAR
SQL_DATE
SQL_TIME
SQL_TIMESTAMP
SQL_EXT_LONGVARCHAR
SQL_EXT_BINARY
SQL_EXT_VARBINARY
SQL_EXT_LONGVARBINARY
SQL_EXT_BIGINT
SQL_EXT_TINYINT
SQL_EXT_BIT
SQL_EXT_WCHAR
SQL_EXT_WVARCHAR
SQL_EXT_WLONGVARCHAR
SQL_EXT_GUID
SQL_SS_VARIANT
SQL_SS_UDT
SQL_SS_XML
SQL_SS_TABLE
SQL_SS_TIME2
SQL_SS_TIMESTAMPOFFSET
Trait Implementations§
§impl Clone for SqlDataType
impl Clone for SqlDataType
§fn clone(&self) -> SqlDataType
fn clone(&self) -> SqlDataType
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 more§impl Debug for SqlDataType
impl Debug for SqlDataType
§impl PartialEq<SqlDataType> for SqlDataType
impl PartialEq<SqlDataType> for SqlDataType
§fn eq(&self, other: &SqlDataType) -> bool
fn eq(&self, other: &SqlDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.