Trait odbc_api::handles::HasDataType[][src]

pub unsafe trait HasDataType: CData {
    fn data_type(&self) -> DataType;
}

Can be bound to a single placeholder in an SQL statement.

Users usually won’t utilize this trait directly.

Required methods

fn data_type(&self) -> DataType[src]

The SQL data as which the parameter is bound to ODBC.

Loading content...

Implementations on Foreign Types

impl HasDataType for f64[src]

impl HasDataType for f32[src]

impl HasDataType for Date[src]

impl HasDataType for i16[src]

impl HasDataType for i32[src]

impl HasDataType for i8[src]

impl HasDataType for i64[src]

Loading content...

Implementors

impl HasDataType for TextColumn[src]

impl HasDataType for VarCharRef<'_>[src]

impl HasDataType for Bit[src]

impl<B> HasDataType for VarChar<B> where
    B: Borrow<[u8]>, 
[src]

impl<T> HasDataType for WithDataType<T> where
    T: HasDataType
[src]

impl<T> HasDataType for Nullable<T> where
    T: Pod + HasDataType
[src]

Loading content...