pub struct EngineerCraftEventIngredient {
pub name: Material,
pub count: u16,
}
Expand description
A material requirement for a modification.
Fields§
§name: Material
The material required.
count: u16
The number of the given material required.
Trait Implementations§
Source§impl Clone for EngineerCraftEventIngredient
impl Clone for EngineerCraftEventIngredient
Source§fn clone(&self) -> EngineerCraftEventIngredient
fn clone(&self) -> EngineerCraftEventIngredient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EngineerCraftEventIngredient
impl Debug for EngineerCraftEventIngredient
Source§impl<'de> Deserialize<'de> for EngineerCraftEventIngredient
impl<'de> Deserialize<'de> for EngineerCraftEventIngredient
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
Source§impl PartialEq for EngineerCraftEventIngredient
impl PartialEq for EngineerCraftEventIngredient
Source§fn eq(&self, other: &EngineerCraftEventIngredient) -> bool
fn eq(&self, other: &EngineerCraftEventIngredient) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EngineerCraftEventIngredient
Auto Trait Implementations§
impl Freeze for EngineerCraftEventIngredient
impl RefUnwindSafe for EngineerCraftEventIngredient
impl Send for EngineerCraftEventIngredient
impl Sync for EngineerCraftEventIngredient
impl Unpin for EngineerCraftEventIngredient
impl UnwindSafe for EngineerCraftEventIngredient
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