pub trait SqlxDecodeNamed: Sized {
// Required method
fn decode_by_name(row: &SqlxRow, name: &str) -> SqlxResult<Self>;
}Expand description
Trait for decoding values from a row by column name.
Required Methods§
Sourcefn decode_by_name(row: &SqlxRow, name: &str) -> SqlxResult<Self>
fn decode_by_name(row: &SqlxRow, name: &str) -> SqlxResult<Self>
Decode a value from a row by column name.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.