Struct sweet_potator::recipe::ingredient::Ingredient
source · [−]pub struct Ingredient {
pub name: String,
pub kind: Option<String>,
pub quantity: Option<Quantity>,
}
Fields
name: String
kind: Option<String>
quantity: Option<Quantity>
Trait Implementations
sourceimpl Debug for Ingredient
impl Debug for Ingredient
sourceimpl Display for Ingredient
impl Display for Ingredient
sourceimpl ParseFromStr for Ingredient
impl ParseFromStr for Ingredient
fn parse_from_str(s: &str) -> ParseResult<Self>
sourceimpl Serialize for Ingredient
impl Serialize for Ingredient
Auto Trait Implementations
impl RefUnwindSafe for Ingredient
impl Send for Ingredient
impl Sync for Ingredient
impl Unpin for Ingredient
impl UnwindSafe for Ingredient
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