pub trait FromSqlRow<ST, DB: Backend>: Sized {
    fn build_from_row<'a>(row: &impl Row<'a, DB>) -> Result<Self>;
Expand description

Deserialize a database row into a rust data structure

Diesel provides wild card implementations of this trait for all types that implement one of the following traits:

Required Methods

See the trait documentation.

Implementations on Foreign Types