Struct odbc_iter::DefaultConfiguration
source · pub struct DefaultConfiguration;
Expand description
Default configuration that allows converting rows to types supported by this crate.
Trait Implementations§
source§impl Clone for DefaultConfiguration
impl Clone for DefaultConfiguration
source§fn clone(&self) -> DefaultConfiguration
fn clone(&self) -> DefaultConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultConfiguration
impl Debug for DefaultConfiguration
source§impl Default for DefaultConfiguration
impl Default for DefaultConfiguration
source§fn default() -> DefaultConfiguration
fn default() -> DefaultConfiguration
Returns the “default value” for a type. Read more
source§impl TryFromRow<DefaultConfiguration> for ()
impl TryFromRow<DefaultConfiguration> for ()
Unit can be used to signal that no rows of data should be produced.
type Error = RowConvertError
source§fn try_from_row<'r, 's, 'c, S>(
_row: Row<'r, 's, 'c, S, DefaultConfiguration>
) -> Result<Self, Self::Error>
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<T> TryFromRow<DefaultConfiguration> for Twhere
T: TryFromColumn<DefaultConfiguration>,
impl<T> TryFromRow<DefaultConfiguration> for Twhere T: TryFromColumn<DefaultConfiguration>,
Convert row with single column to any type implementing TryFromColumn
.
type Error = RowConvertError
source§fn try_from_row<'r, 's, 'c, S>(
row: Row<'r, 's, 'c, S, DefaultConfiguration>
) -> Result<Self, Self::Error>
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 TryFromRow<DefaultConfiguration> for ValueRow
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>
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.