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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 ()
Unit can be used to signal that no rows of data should be produced.
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 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.impl Configuration for DefaultConfiguration
Auto Trait Implementations§
impl Freeze for DefaultConfiguration
impl RefUnwindSafe for DefaultConfiguration
impl Send for DefaultConfiguration
impl Sync for DefaultConfiguration
impl Unpin for DefaultConfiguration
impl UnwindSafe for DefaultConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToErrorNoContext<T> for T
impl<T> ToErrorNoContext<T> for T
fn to_root_cause(self) -> ErrorNoContext<T>
Source§impl<T> TryFromRow<DefaultConfiguration> for Twhere
T: TryFromColumn<DefaultConfiguration>,
impl<T> TryFromRow<DefaultConfiguration> for Twhere
T: TryFromColumn<DefaultConfiguration>,
type Error = RowConvertError
Source§fn try_from_row<'r, 's, 'c, S>(
row: Row<'r, 's, 'c, S, DefaultConfiguration>,
) -> Result<T, <T as TryFromRow<DefaultConfiguration>>::Error>
fn try_from_row<'r, 's, 'c, S>( row: Row<'r, 's, 'c, S, DefaultConfiguration>, ) -> Result<T, <T as TryFromRow<DefaultConfiguration>>::Error>
Given
ColumnType
convert from Row
to other type of value representing table row.