Skip to main content

DrizzleRowByName

Trait DrizzleRowByName 

Source
pub trait DrizzleRowByName: DrizzleRowByIndex {
    // Required method
    fn get_column_by_name<T: FromPostgresValue>(
        &self,
        name: &str,
    ) -> Result<T, DrizzleError>;
}
Expand description

Row capability for name-based extraction.

Required Methods§

Source

fn get_column_by_name<T: FromPostgresValue>( &self, name: &str, ) -> Result<T, DrizzleError>

Get a column value by 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.

Implementors§