added some more changes
This commit is contained in:
@@ -13,8 +13,18 @@ pub struct SearchResult {
|
||||
pub speed: i64,
|
||||
pub abilities: String,
|
||||
pub thumbnail: String,
|
||||
pub learnset: Vec<PokemonDataLearnset>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct PokemonDataLearnset {
|
||||
pub id: i64,
|
||||
pub learset_id: i64,
|
||||
pub name: String,
|
||||
pub types: Vec<i64>,
|
||||
pub power: i64,
|
||||
pub category: i64,
|
||||
}
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct MoveSearchResult {
|
||||
pub id: i64,
|
||||
|
||||
Reference in New Issue
Block a user