odbc_api::handles

Trait HasDataType

Source
pub trait HasDataType {
    // Required method
    fn data_type(&self) -> DataType;
}
Expand description

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

Users usually will not utilize this trait directly.

Required Methods§

Source

fn data_type(&self) -> DataType

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

Implementations on Foreign Types§

Source§

impl HasDataType for f32

Source§

impl HasDataType for f64

Source§

impl HasDataType for i8

Source§

impl HasDataType for i16

Source§

impl HasDataType for i32

Source§

impl HasDataType for i64

Source§

impl HasDataType for Box<dyn InputParameter>

Source§

impl HasDataType for CString

Source§

impl HasDataType for CStr

Source§

impl HasDataType for Date

Implementors§