scaleway-rs 0.2.1

A pure Rust scaleway API binding.
Documentation
use serde::Deserialize;

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceImageRoot {
    pub images: Vec<ScalewayMarketplaceImage>,
    pub total_count: u64,
}

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceImage {
    pub id: String,
    pub name: String,
    pub description: String,
    pub logo: String,
    pub categories: Vec<String>,
    #[serde(with = "time::serde::rfc3339")]
    pub created_at: time::OffsetDateTime,
    #[serde(with = "time::serde::rfc3339::option")]
    pub updated_at: Option<time::OffsetDateTime>,
    #[serde(with = "time::serde::rfc3339::option")]
    pub valid_until: Option<time::OffsetDateTime>,
    pub label: String,
}