pub enum ItemCategory {
Data,
Component,
Item,
Consumable,
Mission,
Unknown(String),
}
Expand description
Type of category for a given Odyssey item.
Variants§
Data
Component
Item
Consumable
Mission
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for ItemCategory
impl Clone for ItemCategory
Source§fn clone(&self) -> ItemCategory
fn clone(&self) -> ItemCategory
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 ItemCategory
impl Debug for ItemCategory
Source§impl<'de> Deserialize<'de> for ItemCategory
impl<'de> Deserialize<'de> for ItemCategory
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<Item> for ItemCategory
impl From<Item> for ItemCategory
Source§impl PartialEq for ItemCategory
impl PartialEq for ItemCategory
Source§impl Serialize for ItemCategory
impl Serialize for ItemCategory
impl StructuralPartialEq for ItemCategory
Auto Trait Implementations§
impl Freeze for ItemCategory
impl RefUnwindSafe for ItemCategory
impl Send for ItemCategory
impl Sync for ItemCategory
impl Unpin for ItemCategory
impl UnwindSafe for ItemCategory
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