pub struct RowConverter<'a> {
pub row: Row,
pub schema: &'a Schema,
}Expand description
Converter that holds schema context for From implementations.
RowConverter wraps an Row along with the schema context,
enabling database-specific From implementations to look up type
information for each field.
Fields§
§row: RowThe internal row to convert
schema: &'a SchemaSchema providing type information for fields
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RowConverter<'a>
impl<'a> RefUnwindSafe for RowConverter<'a>
impl<'a> Send for RowConverter<'a>
impl<'a> Sync for RowConverter<'a>
impl<'a> Unpin for RowConverter<'a>
impl<'a> UnsafeUnpin for RowConverter<'a>
impl<'a> UnwindSafe for RowConverter<'a>
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