pub enum CommodityCategory {
Show 19 variants
Chemicals,
ConsumerItems,
LegalDrugs,
Foods,
IndustrialMaterials,
Machinery,
Medicines,
Metals,
Minerals,
Salvage,
Slaves,
Technology,
Textiles,
Waste,
Weapons,
Rare,
Powerplay,
None,
Unknown(String),
}
Variants§
Chemicals
ConsumerItems
LegalDrugs
Foods
IndustrialMaterials
Machinery
Medicines
Metals
Minerals
Salvage
Slaves
Technology
Textiles
Waste
Weapons
Rare
Powerplay
None
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for CommodityCategory
impl Clone for CommodityCategory
Source§fn clone(&self) -> CommodityCategory
fn clone(&self) -> CommodityCategory
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 CommodityCategory
impl Debug for CommodityCategory
Source§impl<'de> Deserialize<'de> for CommodityCategory
impl<'de> Deserialize<'de> for CommodityCategory
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 Display for CommodityCategory
impl Display for CommodityCategory
Source§impl From<Commodity> for CommodityCategory
impl From<Commodity> for CommodityCategory
Source§impl PartialEq for CommodityCategory
impl PartialEq for CommodityCategory
Source§impl Serialize for CommodityCategory
impl Serialize for CommodityCategory
impl StructuralPartialEq for CommodityCategory
Auto Trait Implementations§
impl Freeze for CommodityCategory
impl RefUnwindSafe for CommodityCategory
impl Send for CommodityCategory
impl Sync for CommodityCategory
impl Unpin for CommodityCategory
impl UnwindSafe for CommodityCategory
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