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 Box<dyn InputParameter>

source§

impl HasDataType for CString

source§

impl HasDataType for f64

source§

impl HasDataType for Date

source§

impl HasDataType for i32

source§

impl HasDataType for i64

source§

impl HasDataType for f32

source§

impl HasDataType for i16

source§

impl HasDataType for i8

source§

impl HasDataType for CStr

Implementors§