scaleway-rs 0.2.4

A pure Rust scaleway API binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::Deserialize;

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceLocalImagesRoot {
    pub local_images: Vec<ScalewayMarketplaceLocalImage>,
    pub total_count: u64,
}

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceLocalImage {
    pub id: String,
    pub compatible_commercial_types: Vec<String>,
    pub arch: String,
    pub zone: String,
    pub label: String,
    #[serde(rename = "type")]
    pub itype: String,
}