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. See the codegen documentation for more.