pokemon_tcg_sdk/card/ability.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Deserialize, Serialize)]
4pub struct Ability {
5 /// The name of the ability
6 pub name: String,
7 /// The text value of the ability
8 pub text: String,
9 /// The type of the ability, such as Ability or Pokémon-Power
10 #[serde(alias = "type")]
11 pub type_name: String,
12}