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

[src]

Creates a DataType from a triplet. If the data_type does not require the information column_size or decimal_digits.

[src]

[src]

[src]

Trait Implementations

impl Debug for DataType
[src]

[src]

Formats the value using the given formatter.

impl Clone for DataType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DataType
[src]

impl PartialEq for DataType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for DataType
[src]