pub struct Recipe {
pub title: String,
pub metadata: Metadata,
pub ingredients: List<Ingredient>,
pub instructions: List<String>,
pub notes: Vec<String>,
}
Fields§
§title: String
§metadata: Metadata
§ingredients: List<Ingredient>
§instructions: List<String>
§notes: Vec<String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recipe
impl RefUnwindSafe for Recipe
impl Send for Recipe
impl Sync for Recipe
impl Unpin for Recipe
impl UnwindSafe for Recipe
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