pub enum MixedMaterialCategory {
ShipMaterial(MaterialCategory),
OdysseyMaterial(ItemCategory),
}
Expand description
In some cases, the game emits events that refer to materials, but can also contain Odyssey items. If that is the case, this model will be used instead.
Variants§
ShipMaterial(MaterialCategory)
OdysseyMaterial(ItemCategory)
Trait Implementations§
Source§impl Clone for MixedMaterialCategory
impl Clone for MixedMaterialCategory
Source§fn clone(&self) -> MixedMaterialCategory
fn clone(&self) -> MixedMaterialCategory
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 MixedMaterialCategory
impl Debug for MixedMaterialCategory
Source§impl<'de> Deserialize<'de> for MixedMaterialCategory
impl<'de> Deserialize<'de> for MixedMaterialCategory
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 From<MixedMaterial> for MixedMaterialCategory
impl From<MixedMaterial> for MixedMaterialCategory
Source§fn from(value: MixedMaterial) -> Self
fn from(value: MixedMaterial) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MixedMaterialCategory
impl PartialEq for MixedMaterialCategory
Source§impl Serialize for MixedMaterialCategory
impl Serialize for MixedMaterialCategory
impl StructuralPartialEq for MixedMaterialCategory
Auto Trait Implementations§
impl Freeze for MixedMaterialCategory
impl RefUnwindSafe for MixedMaterialCategory
impl Send for MixedMaterialCategory
impl Sync for MixedMaterialCategory
impl Unpin for MixedMaterialCategory
impl UnwindSafe for MixedMaterialCategory
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