[]Enum odbc_iter::odbc_type::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_UTINYINTSQL_C_UBIGINTSQL_C_STINYINTSQL_C_SBIGINTSQL_C_ULONGSQL_C_USHORTSQL_C_SLONGSQL_C_SSHORTSQL_C_GUIDSQL_C_WCHARSQL_C_BITSQL_C_BINARYSQL_C_CHAR

SQLCHAR - CHAR, VARCHAR, DECIMAL, NUMERIC

SQL_C_NUMERICSQL_C_FLOATSQL_C_DOUBLESQL_C_DATESQL_C_TIMESQL_C_TIMESTAMPSQL_C_TYPE_DATESQL_C_TYPE_TIMESQL_C_TYPE_TIMESTAMPSQL_C_DEFAULTSQL_C_INTERVAL_YEARSQL_C_INTERVAL_MONTHSQL_C_INTERVAL_DAYSQL_C_INTERVAL_HOURSQL_C_INTERVAL_MINUTESQL_C_INTERVAL_SECONDSQL_C_INTERVAL_YEAR_TO_MONTHSQL_C_INTERVAL_DAY_TO_HOURSQL_C_INTERVAL_DAY_TO_MINUTESQL_C_INTERVAL_DAY_TO_SECONDSQL_C_INTERVAL_HOUR_TO_MINUTESQL_C_INTERVAL_HOUR_TO_SECONDSQL_C_INTERVAL_MINUTE_TO_SECONDSQL_C_SS_TIME2SQL_C_SS_TIMESTAMPOFFSET

Trait Implementations

impl Debug for SqlCDataType

impl PartialEq<SqlCDataType> for SqlCDataType

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for SqlCDataType

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for SqlCDataType

impl Eq for SqlCDataType

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<E, C> WrapContext<C> for E[src]

type ContextError = ErrorContext<E, C>

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