pub struct MarketIngredient {
pub count: u32,
pub name: &'static str,
pub quality: &'static str,
}Fields§
§count: u32§name: &'static str§quality: &'static strTrait Implementations§
Source§impl Clone for MarketIngredient
impl Clone for MarketIngredient
Source§fn clone(&self) -> MarketIngredient
fn clone(&self) -> MarketIngredient
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 moreimpl Copy for MarketIngredient
Source§impl Debug for MarketIngredient
impl Debug for MarketIngredient
Source§impl Default for MarketIngredient
impl Default for MarketIngredient
Source§fn default() -> MarketIngredient
fn default() -> MarketIngredient
Returns the “default value” for a type. Read more
Source§impl PartialEq for MarketIngredient
impl PartialEq for MarketIngredient
impl StructuralPartialEq for MarketIngredient
Auto Trait Implementations§
impl Freeze for MarketIngredient
impl RefUnwindSafe for MarketIngredient
impl Send for MarketIngredient
impl Sync for MarketIngredient
impl Unpin for MarketIngredient
impl UnsafeUnpin for MarketIngredient
impl UnwindSafe for MarketIngredient
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