#[repr(i16)]
pub enum CDataType {
Show 40 variants
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,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for CDataType
impl UnwindSafe for CDataType
Blanket Implementations
Mutably borrows from an owned value. Read more