#[derive(Debug, Clone, Serialize, Deserialize)] pub struct Expedition { pub id: u64, pub ship_count: u64, pub origin: String, pub destination: String, pub owner: u64, pub turns_remaining: u64, } #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Planet { pub ship_count: u64, pub x: f32, pub y: f32, pub owner: Option, pub name: String, } #[derive(Debug, Clone, Serialize, Deserialize)] pub struct State { pub planets: Vec, pub expeditions: Vec, }