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>,
}