Trait diesel::types::FromSqlRow [] [src]

pub trait FromSqlRow<A, DB: Backend + HasSqlType<A>>: Sized {
    fn build_from_row<T: Row<DB>>(row: &mut T) -> Result<Self, Box<Error + Send + Sync>>;
}

How to deserialize multiple fields, with a known type. This type is implemented for tuples of various sizes.

Required Methods

fn build_from_row<T: Row<DB>>(row: &mut T) -> Result<Self, Box<Error + Send + Sync>>

Implementors