pub struct BookRecipe {
pub id: String,
pub book: String,
pub ingredients: Vec<String>,
}Expand description
A shapeless recipe that produces a book from yog-book.
Replaces patchouli:shapeless_book_recipe.
Fields§
§id: String§book: String§ingredients: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for BookRecipe
impl Clone for BookRecipe
Source§fn clone(&self) -> BookRecipe
fn clone(&self) -> BookRecipe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BookRecipe
impl RefUnwindSafe for BookRecipe
impl Send for BookRecipe
impl Sync for BookRecipe
impl Unpin for BookRecipe
impl UnsafeUnpin for BookRecipe
impl UnwindSafe for BookRecipe
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