Trait RdbcRowMapper

Source
pub trait RdbcRowMapper<T> {
    // Required method
    fn map_row(&self, row: &AnyRow) -> T;
}
Expand description

Trait for mapping a database row to a specific type.

Required Methods§

Source

fn map_row(&self, row: &AnyRow) -> T

Maps a database row to the specified type.

Implementors§