pub struct RecipeDetail {Show 16 fields
pub id: i64,
pub uuid: String,
pub food_id: i64,
pub name: String,
pub portions: f64,
pub total_weight_g: f64,
pub per_portion_g: f64,
pub ingredients: Vec<RecipeIngredient>,
pub per_portion_calories: f64,
pub per_portion_protein: f64,
pub per_portion_carbs: f64,
pub per_portion_fat: f64,
pub calories_per_100g: f64,
pub protein_per_100g: f64,
pub carbs_per_100g: f64,
pub fat_per_100g: f64,
}Fields§
§id: i64§uuid: String§food_id: i64§name: String§portions: f64§total_weight_g: f64§per_portion_g: f64§ingredients: Vec<RecipeIngredient>§per_portion_calories: f64§per_portion_protein: f64§per_portion_carbs: f64§per_portion_fat: f64§calories_per_100g: f64§protein_per_100g: f64§carbs_per_100g: f64§fat_per_100g: f64Trait Implementations§
Source§impl Clone for RecipeDetail
impl Clone for RecipeDetail
Source§fn clone(&self) -> RecipeDetail
fn clone(&self) -> RecipeDetail
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecipeDetail
impl Debug for RecipeDetail
Auto Trait Implementations§
impl Freeze for RecipeDetail
impl RefUnwindSafe for RecipeDetail
impl Send for RecipeDetail
impl Sync for RecipeDetail
impl Unpin for RecipeDetail
impl UnsafeUnpin for RecipeDetail
impl UnwindSafe for RecipeDetail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more