pub struct Cookware {
pub alias: Option<String>,
pub name: String,
pub note: Option<String>,
pub quantity: Option<u32>,
}Expand description
Cookware : A recipe cookware item
Fields§
§alias: Option<String>Alias
name: StringName
note: Option<String>Note
quantity: Option<u32>Amount needed Note that this is a value, not a quantity, so it doesn’t have units.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cookware
impl<'de> Deserialize<'de> for Cookware
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Cookware
Auto Trait Implementations§
impl Freeze for Cookware
impl RefUnwindSafe for Cookware
impl Send for Cookware
impl Sync for Cookware
impl Unpin for Cookware
impl UnsafeUnpin for Cookware
impl UnwindSafe for Cookware
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