pub struct Ability {
pub name: String,
pub text: String,
pub type_name: String,
}
Fields§
§name: String
The name of the ability
text: String
The text value of the ability
type_name: String
The type of the ability, such as Ability or Pokémon-Power
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ability
impl<'de> Deserialize<'de> for Ability
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
Auto Trait Implementations§
impl Freeze for Ability
impl RefUnwindSafe for Ability
impl Send for Ability
impl Sync for Ability
impl Unpin for Ability
impl UnwindSafe for Ability
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