Struct sweet_potator::recipe::Recipe
source · [−]pub struct Recipe {
pub title: String,
pub metadata: Metadata,
pub ingredients: List<Ingredient>,
pub instructions: List<String>,
pub notes: Vec<String>,
}Fields
title: Stringmetadata: Metadataingredients: List<Ingredient>instructions: List<String>notes: Vec<String>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Recipe
impl Send for Recipe
impl Sync for Recipe
impl Unpin for Recipe
impl UnwindSafe for Recipe
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more