Type Definition odbc_iter::ValueRow

source ·
pub type ValueRow = Vec<Option<Value>>;
Expand description

Row of dynamic nullable column values.

This objects are constructed from row data returned by ODBC library and can be further converted to types implementing TryFromValueRow/TryFromValue traits.

Trait Implementations§

source§

impl TryFromRow<DefaultConfiguration> for ValueRow

§

type Error = RowConvertError

source§

fn try_from_row<'r, 's, 'c, S>( row: Row<'r, 's, 'c, S, DefaultConfiguration> ) -> Result<Self, Self::Error>

Given ColumnType convert from Row to other type of value representing table row.
source§

impl TryFromValueRow for ValueRow

Allow to retrieve unconverted ValueRow as item of ResultSet iterator.

§

type Error = Infallible

source§

fn try_from_value_row(values: ValueRow) -> Result<Self, Self::Error>

Convert from ValueRow to other type of value representing table row.