//! Card info #[derive(Debug)] pub struct CardInfo { pub slug: String, pub inner: InnerCardInfo, } #[derive(Debug)] pub struct InnerCardInfo { pub name: String, pub kind: CardKind, pub card_type: CardType, pub acespec: bool, pub tagteam: bool, pub future: bool, pub ancient: bool, pub specific_info: SpecificInfo, } #[derive(Debug)] pub enum CardKind { Pokemon, Trainer, Energy, } #[derive(Debug)] pub enum CardType { Basic, Stage1, Stage2, Item, Tool, Supporter, Stadium, Special, } #[derive(Debug)] pub enum SpecificInfo { PokemonInfo {}, TrainerInfo { effect: Vec }, EnergyInfo {}, }