Enum odbc_sys::CDataType[][src]

#[repr(i16)]pub enum CDataType {
    Ard,
    Apd,
    UTinyInt,
    UBigInt,
    STinyInt,
    SBigInt,
    ULong,
    UShort,
    SLong,
    SShort,
    Guid,
    WChar,
    Bit,
    Binary,
    Char,
    Numeric,
    Float,
    Double,
    Date,
    Time,
    TimeStamp,
    TypeDate,
    TypeTime,
    TypeTimestamp,
    Default,
    IntervalYear,
    IntervalMonth,
    IntervalDay,
    IntervalHour,
    IntervalMinute,
    IntervalSecond,
    IntervalYearToMonth,
    IntervalDayToHour,
    IntervalDayToMinute,
    IntervalDayToSecond,
    IntervalHourToMinute,
    IntervalHourToSecond,
    IntervalMinuteToSecond,
    SsTime2,
    SsTimestampOffset,
}

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

Ard

SQL_ARD_TYPE

Apd

SQL_APD_TYPE

UTinyInt
UBigInt
STinyInt
SBigInt
ULong
UShort
SLong
SShort
Guid
WChar
Bit
Binary
Char

SQLCHAR - CHAR, VARCHAR, DECIMAL, NUMERIC

Numeric
Float
Double
Date
Time
TimeStamp
TypeDate

SQL_TYPE_DATE

TypeTime

SQL_TYPE_TIME

TypeTimestamp

SQL_TYPE_TIMESTAMP

Default
IntervalYear
IntervalMonth
IntervalDay
IntervalHour
IntervalMinute
IntervalSecond
IntervalYearToMonth
IntervalDayToHour
IntervalDayToMinute
IntervalDayToSecond
IntervalHourToMinute
IntervalHourToSecond
IntervalMinuteToSecond
SsTime2
SsTimestampOffset

Trait Implementations

impl Clone for CDataType[src]

impl Copy for CDataType[src]

impl Debug for CDataType[src]

impl Eq for CDataType[src]

impl PartialEq<CDataType> for CDataType[src]

impl StructuralEq for CDataType[src]

impl StructuralPartialEq for CDataType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.