[][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_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 Copy for SqlCDataType
[src]

impl Debug for SqlCDataType
[src]

impl Clone for SqlCDataType
[src]

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

Performs copy-assignment from source. Read more

impl Eq for SqlCDataType
[src]

impl PartialEq<SqlCDataType> for SqlCDataType
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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