Trait diesel::query_source::Queryable [] [src]

pub trait Queryable<ST, DB> where DB: Backend + HasSqlType<ST> {
    type Row: FromSqlRow<ST, DB>;
    fn build(row: Self::Row) -> Self;
}

Trait indicating that a record can be queried from the database. This trait can be derived automatically using diesel_codegen. This trait can only be derived for structs, not enums.

Associated Types

Required Methods

Implementors