upcloud_rs/data/
zone.rs

1use serde::Deserialize;
2
3#[derive(Deserialize, Debug)]
4pub struct UpcloudZoneListRoot {
5    pub zones: UpcloudZoneList,
6}
7
8#[derive(Deserialize, Debug)]
9pub struct UpcloudZoneList {
10    pub zone: Vec<UpcloudZone>,
11}
12
13#[derive(Deserialize, Debug)]
14pub struct UpcloudZone {
15    pub description: String,
16    pub id: String,
17    pub public: String,
18}