[−][src]Struct odbc_iter::Column
Represents SQL table column which can be converted to Rust native type.
Fields
column_type: &'r ColumnTypeType information about this column
configuration: &'s CData access configuration
Methods
impl<'r, 's, 'c, S, C: Configuration> Column<'r, 's, 'c, S, C>[src]
pub fn into_bool(self) -> Result<Option<bool>, DatumAccessError>[src]
Reads bool value from column.
pub fn into_i8(self) -> Result<Option<i8>, DatumAccessError>[src]
Reads i8 value from column.
pub fn into_i16(self) -> Result<Option<i16>, DatumAccessError>[src]
Reads i16 value from column.
pub fn into_i32(self) -> Result<Option<i32>, DatumAccessError>[src]
Reads i32 value from column.
pub fn into_i64(self) -> Result<Option<i64>, DatumAccessError>[src]
Reads i64 value from column.
pub fn into_f32(self) -> Result<Option<f32>, DatumAccessError>[src]
Reads f32 value from column.
pub fn into_f64(self) -> Result<Option<f64>, DatumAccessError>[src]
Reads f64 value from column.
pub fn into_string(self) -> Result<Option<String>, DatumAccessError>[src]
Reads String value from column.
pub fn into_timestamp(self) -> Result<Option<SqlTimestamp>, DatumAccessError>[src]
Reads SqlTimestamp value from column.
pub fn into_date(self) -> Result<Option<SqlDate>, DatumAccessError>[src]
Reads SqlDate value from column.
pub fn into_time(self) -> Result<Option<SqlSsTime2>, DatumAccessError>[src]
Reads SqlSsTime2 value from column.
pub fn index(&self) -> u16[src]
Gets column number in the row (first column is 0)
Trait Implementations
impl<'r, 's, 'c, S, C: Configuration> Debug for Column<'r, 's, 'c, S, C>[src]
Auto Trait Implementations
impl<'r, 's, 'c, S, C> RefUnwindSafe for Column<'r, 's, 'c, S, C> where
C: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<'r, 's, 'c, S, C> !Send for Column<'r, 's, 'c, S, C>
impl<'r, 's, 'c, S, C> !Sync for Column<'r, 's, 'c, S, C>
impl<'r, 's, 'c, S, C> Unpin for Column<'r, 's, 'c, S, C> where
'c: 'r,
's: 'r,
'c: 'r,
's: 'r,
impl<'r, 's, 'c, S, C> !UnwindSafe for Column<'r, 's, 'c, S, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToErrorNoContext<T> for T[src]
fn to_root_cause(self) -> ErrorNoContext<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.