scaleway-rs 0.2.4

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

#[derive(Deserialize, Debug)]
pub struct ScalewayUser {
    pub id: String,
    pub email: String,
    pub username: Option<String>,
    pub first_name: Option<String>,
    pub last_name: Option<String>,
    pub phone: Option<String>,
    pub locale: Option<String>,
    pub status: String,
    #[serde(rename = "type")]
    pub type_: String,
    pub two_factor_enabled: bool,
    pub deletable: bool,
    pub account_root_user_id: String,
    pub organization_id: String,
    pub tags: Option<Vec<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>,
    #[serde(with = "time::serde::rfc3339::option")]
    pub last_login_at: Option<time::OffsetDateTime>,
}