Trait diesel::query_source::Queriable [] [src]

pub trait Queriable<ST: NativeSqlType> {
    type Row: FromSqlRow<ST>;
    fn build(row: Self::Row) -> Self;
}

Trait indicating that a record can be queried from the database. This trait can be derived automatically. See the codegen documentation for more.

Associated Types

type Row: FromSqlRow<ST>

Required Methods

fn build(row: Self::Row) -> Self

Implementors