Struct rusty_nail::recipe::models::Recipe
[−]
[src]
pub struct Recipe { pub id: i32, pub name: String, pub description: String, }
Fields
id: i32
name: String
description: String
Trait Implementations
impl Debug for Recipe
[src]
impl<'a, 'update> AsChangeset for &'update Recipe
type Target = table
type Changeset = (Eq<name, &'update String>, Eq<description, &'update String>)
fn as_changeset(self) -> Self::Changeset
impl HasTable for Recipe
impl<'ident> Identifiable for &'ident Recipe
impl<__DB, __ST> Queryable<__ST, __DB> for Recipe where __DB: Backend + HasSqlType<__ST>,
(i32, String, String): FromSqlRow<__ST, __DB>
(i32, String, String): FromSqlRow<__ST, __DB>