ValueRow

Type Alias 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.

Aliased Type§

pub struct ValueRow { /* private fields */ }

Trait Implementations§

Source§

impl TryFromRow<DefaultConfiguration> for ValueRow

Source§

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.

Source§

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.