Struct rusty_nail::recipe::models::Ingredient [] [src]

pub struct Ingredient {
    pub id: i32,
    pub name: String,
    pub description: String,
    pub available: bool,
}

Fields

Trait Implementations

impl Debug for Ingredient
[src]

Formats the value using the given formatter.

impl<'a, 'update> AsChangeset for &'update Ingredient

impl HasTable for Ingredient

impl<'ident> Identifiable for &'ident Ingredient

impl<__DB, __ST> Queryable<__ST, __DB> for Ingredient where __DB: Backend + HasSqlType<__ST>,
        (i32, String, String, bool): FromSqlRow<__ST, __DB>