scaleway-rs 0.2.1

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

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceImageVersionRoot {
    pub versions: Vec<ScalewayMarketplaceImageVersion>,
    pub total_count: u64,
}

#[derive(Deserialize, Debug)]
pub struct ScalewayMarketplaceImageVersion {
    pub id: String,
    pub name: String,
    #[serde(with = "time::serde::rfc3339")]
    pub created_at: time::OffsetDateTime,
    #[serde(with = "time::serde::rfc3339")]
    pub updated_at: time::OffsetDateTime,
    #[serde(with = "time::serde::rfc3339::option")]
    pub published_at: Option<time::OffsetDateTime>,
}