added some more changes

This commit is contained in:
2023-02-05 19:39:35 +09:00
parent 8ac2aa2b1f
commit 303e02d243
13 changed files with 479 additions and 163 deletions

View File

@@ -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,