[−][src]Struct odbc_iter::ColumnType
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]
fn clone(&self) -> ColumnType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ColumnType> for ColumnType
[src]
fn eq(&self, other: &ColumnType) -> bool
[src]
fn ne(&self, other: &ColumnType) -> bool
[src]
impl Debug for ColumnType
[src]
impl TryFrom<ColumnDescriptor> for ColumnType
[src]
type Error = UnsupportedSqlDataType
The type returned in the event of a conversion error.
fn try_from(
column_descriptor: ColumnDescriptor
) -> Result<ColumnType, UnsupportedSqlDataType>
[src]
column_descriptor: ColumnDescriptor
) -> Result<ColumnType, UnsupportedSqlDataType>
Auto Trait Implementations
impl Sync for ColumnType
impl Unpin for ColumnType
impl Send for ColumnType
impl UnwindSafe for ColumnType
impl RefUnwindSafe for ColumnType
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,