Enum gamemstr_common::creature::Attribute
source · pub enum Attribute {
Show 20 variants
CreatureType(CreatureType),
Alignment(Alignment),
ArmorClass(i32),
HealthPoints(Health),
Speed(MovementSpeed),
Stat(Stat),
SavingThrow(Stat),
DamageResistance(DamageType),
DamageImmunity(DamageType),
DamageVulnerability(DamageType),
ConditionImmunity(ConditionType),
Skill(Skill),
Sense(Sense),
Language(Language),
ChallengeRating(String),
RacialTrait(RacialTrait),
Description(String),
Action(Action),
Lair(Lair),
Other(OtherAttribute),
}Variants§
CreatureType(CreatureType)
Alignment(Alignment)
ArmorClass(i32)
HealthPoints(Health)
Speed(MovementSpeed)
Stat(Stat)
SavingThrow(Stat)
DamageResistance(DamageType)
DamageImmunity(DamageType)
DamageVulnerability(DamageType)
ConditionImmunity(ConditionType)
Skill(Skill)
Sense(Sense)
Language(Language)
ChallengeRating(String)
RacialTrait(RacialTrait)
Description(String)
Action(Action)
Lair(Lair)
Other(OtherAttribute)
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