[][src]Struct odbc_iter::ColumnType

pub struct ColumnType {
    pub datum_type: DatumType,
    pub odbc_type: SqlDataType,
    pub nullable: bool,
    pub name: String,
}

Description of column type, name and nullability properties used to represent row schema.

Fields

datum_type: DatumType

Supported type of datum that this column holds. See DatumType documentation of usage of corresponding Column::into_*() functions.

odbc_type: SqlDataType

ODBC SQL Data Type as returned by the driver.

nullable: bool

true if column can contain NULL value. If false the Column::into_*() functions should always return Some value.

name: String

Name of the column as provided by the ODBC driver.

Trait Implementations

impl Clone for ColumnType[src]

impl Debug for ColumnType[src]

impl PartialEq<ColumnType> for ColumnType[src]

impl StructuralPartialEq for ColumnType[src]

impl TryFrom<ColumnDescriptor> for ColumnType[src]

type Error = UnsupportedSqlDataType

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToErrorNoContext<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<E, C> WrapContext<C> for E[src]

type ContextError = ErrorContext<E, C>