use serde::Deserialize; #[derive(Deserialize, Debug)] pub struct SpawnTable { pub id: String, pub table: Vec, } #[derive(Deserialize, Debug)] pub struct SpawnTableEntry { pub id: String, pub weight: i32, pub difficulty: i32, }