poke_data/models/encounter_method.rs
1use crate::models::localized_names::LocalizedStrings;
2use serde::{Deserialize, Serialize};
3
4pub type EncounterMethodId = u8;
5
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct EncounterMethod {
8 pub id: EncounterMethodId,
9 pub identifier: String,
10 pub names: LocalizedStrings,
11 pub order: u8,
12}