Enum odbc_safe::DataType [] [src]

pub enum DataType {
    Char(SQLULEN),
    Numeric(SQLULENSQLSMALLINT),
    Decimal(SQLULENSQLSMALLINT),
    Integer,
    SmallInt,
    Float,
    Real,
    Double,
    Varchar(SQLULEN),
}

Describes a column or parameter type.

Variants

Fixed sized single byte character data

Exact numerical, with (Precision, Scale)

Exact numerical, with (Precision, Scale)

Integer numerical with precision 10

Small integer numerical with precision 5

Approximate numerical with precision 15

Approximate numerical with precison 7

Approximate numerical with precision 15

Variadic sized single byte character data

Methods

impl DataType
[src]

Determines the type stored at the data source

See Data Types

Trait Implementations

impl Debug for DataType
[src]

Formats the value using the given formatter.

impl Clone for DataType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DataType
[src]