[][src]Enum odbc::ffi::SqlCDataType

#[repr(i16)]
pub enum SqlCDataType {
    SQL_C_UTINYINT,
    SQL_C_UBIGINT,
    SQL_C_STINYINT,
    SQL_C_SBIGINT,
    SQL_C_ULONG,
    SQL_C_USHORT,
    SQL_C_SLONG,
    SQL_C_SSHORT,
    SQL_C_GUID,
    SQL_C_WCHAR,
    SQL_C_BIT,
    SQL_C_BINARY,
    SQL_C_CHAR,
    SQL_C_NUMERIC,
    SQL_C_FLOAT,
    SQL_C_DOUBLE,
    SQL_C_DATE,
    SQL_C_TIME,
    SQL_C_TIMESTAMP,
    SQL_C_TYPE_DATE,
    SQL_C_TYPE_TIME,
    SQL_C_TYPE_TIMESTAMP,
    SQL_C_DEFAULT,
    SQL_C_INTERVAL_YEAR,
    SQL_C_INTERVAL_MONTH,
    SQL_C_INTERVAL_DAY,
    SQL_C_INTERVAL_HOUR,
    SQL_C_INTERVAL_MINUTE,
    SQL_C_INTERVAL_SECOND,
    SQL_C_INTERVAL_YEAR_TO_MONTH,
    SQL_C_INTERVAL_DAY_TO_HOUR,
    SQL_C_INTERVAL_DAY_TO_MINUTE,
    SQL_C_INTERVAL_DAY_TO_SECOND,
    SQL_C_INTERVAL_HOUR_TO_MINUTE,
    SQL_C_INTERVAL_HOUR_TO_SECOND,
    SQL_C_INTERVAL_MINUTE_TO_SECOND,
    SQL_C_SS_TIME2,
    SQL_C_SS_TIMESTAMPOFFSET,
}

The C data type is specified in the SQLBindCol and SQLGetData functions with the TargetType argument and in the SQLBindParameter function with the ValueType argument.

Variants

SQL_C_UTINYINT
SQL_C_UBIGINT
SQL_C_STINYINT
SQL_C_SBIGINT
SQL_C_ULONG
SQL_C_USHORT
SQL_C_SLONG
SQL_C_SSHORT
SQL_C_GUID
SQL_C_WCHAR
SQL_C_BIT
SQL_C_BINARY
SQL_C_CHAR

SQLCHAR - CHAR, VARCHAR, DECIMAL, NUMERIC

SQL_C_NUMERIC
SQL_C_FLOAT
SQL_C_DOUBLE
SQL_C_DATE
SQL_C_TIME
SQL_C_TIMESTAMP
SQL_C_TYPE_DATE
SQL_C_TYPE_TIME
SQL_C_TYPE_TIMESTAMP
SQL_C_DEFAULT
SQL_C_INTERVAL_YEAR
SQL_C_INTERVAL_MONTH
SQL_C_INTERVAL_DAY
SQL_C_INTERVAL_HOUR
SQL_C_INTERVAL_MINUTE
SQL_C_INTERVAL_SECOND
SQL_C_INTERVAL_YEAR_TO_MONTH
SQL_C_INTERVAL_DAY_TO_HOUR
SQL_C_INTERVAL_DAY_TO_MINUTE
SQL_C_INTERVAL_DAY_TO_SECOND
SQL_C_INTERVAL_HOUR_TO_MINUTE
SQL_C_INTERVAL_HOUR_TO_SECOND
SQL_C_INTERVAL_MINUTE_TO_SECOND
SQL_C_SS_TIME2
SQL_C_SS_TIMESTAMPOFFSET

Trait Implementations

impl Clone for SqlCDataType[src]

impl Debug for SqlCDataType[src]

impl StructuralPartialEq for SqlCDataType[src]

impl Copy for SqlCDataType[src]

impl StructuralEq for SqlCDataType[src]

impl PartialEq<SqlCDataType> for SqlCDataType[src]

impl Eq for SqlCDataType[src]

Auto Trait Implementations

impl Send for SqlCDataType

impl Sync for SqlCDataType

impl Unpin for SqlCDataType

impl UnwindSafe for SqlCDataType

impl RefUnwindSafe for SqlCDataType

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]