Enum gamemstr_common::item::Attribute
source · pub enum Attribute {
ItemType(ItemType),
ItemRarity(ItemRarity),
Attunement(Attuneable),
WeaponType(WeaponType),
ArmorType(ArmorType),
Conditions(ConditionType),
AttachedSpell(Spell),
HasCharges(Charge),
Inventory(Vec<Item>),
Other(OtherAttribute),
Action(Action),
}Variants§
ItemType(ItemType)
ItemRarity(ItemRarity)
Attunement(Attuneable)
WeaponType(WeaponType)
ArmorType(ArmorType)
Conditions(ConditionType)
AttachedSpell(Spell)
HasCharges(Charge)
Inventory(Vec<Item>)
Other(OtherAttribute)
Action(Action)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
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