pub struct Pokedex {Show 15 fields
pub name: String,
pub id: String,
pub pokemon_type: Vec<String>,
pub species: Vec<String>,
pub abilities: Vec<String>,
pub height: String,
pub weight: String,
pub base_experience: String,
pub gender: Vec<String>,
pub egg_groups: Vec<String>,
pub stats: PokedexStats,
pub family: PokedexFamily,
pub sprites: PokedexSprites,
pub description: String,
pub generation: String,
}
Fields§
§name: String
§id: String
§pokemon_type: Vec<String>
§species: Vec<String>
§abilities: Vec<String>
§height: String
§weight: String
§base_experience: String
§gender: Vec<String>
§egg_groups: Vec<String>
§stats: PokedexStats
§family: PokedexFamily
§sprites: PokedexSprites
§description: String
§generation: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pokedex
impl<'de> Deserialize<'de> for Pokedex
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 Pokedex
impl RefUnwindSafe for Pokedex
impl Send for Pokedex
impl Sync for Pokedex
impl Unpin for Pokedex
impl UnwindSafe for Pokedex
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