1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#[derive(Debug, Deserialize)] pub struct Launchpad { pub details: String, pub full_name: String, pub id: String, pub location: LaunchpadLocation, pub status: String, pub vehicles_launched: Vec<String> } #[derive(Debug, Deserialize)] pub struct LaunchpadLocation { pub latitude: f64, pub longitude: f64, pub name: String, pub region: String }