scaleway-rs 0.2.4

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

#[derive(Deserialize, Debug)]
pub struct ScalewaySSHKeysRoot {
    pub ssh_keys: Vec<ScalewaySSHKey>,
}

#[derive(Deserialize, Debug)]
pub struct ScalewaySSHKey {
    pub id: String,
    pub name: String,
    pub public_key: String,
    pub fingerprint: Option<String>,
    #[serde(with = "time::serde::rfc3339::option")]
    pub created_at: Option<time::OffsetDateTime>,
    #[serde(with = "time::serde::rfc3339::option")]
    pub updated_at: Option<time::OffsetDateTime>,
    pub organization_id: String,
    pub project_id: String,
    pub disabled: bool,
}