1 2 3 4 5 6 7 8 9 10
use std::collections::HashMap; use serde::{Deserialize, Serialize}; use crate::data::country::Country; pub mod country; #[derive(Debug, Serialize, Deserialize)] pub struct WorldData { pub countries: HashMap<String, Country> }