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

pub struct RecipeIngredient {
    pub id: i32,
    pub recipe_id: i32,
    pub ingredient_id: i32,
    pub amount: f32,
}

Fields

Trait Implementations

impl Debug for RecipeIngredient
[src]

Formats the value using the given formatter.

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

impl BelongsTo<Recipe> for RecipeIngredient

impl BelongsTo<Ingredient> for RecipeIngredient

impl HasTable for RecipeIngredient

impl<'ident> Identifiable for &'ident RecipeIngredient

impl<__DB, __ST> Queryable<__ST, __DB> for RecipeIngredient where __DB: Backend + HasSqlType<__ST>,
        (i32, i32, i32, f32): FromSqlRow<__ST, __DB>