sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
/// NewServiceAccount
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct NewServiceAccount {
    /// UTC datetime when the service account key should expire (ISO 8601 format without timezone), key never expires expiration is not specified
    #[serde(skip_serializing_if = "Option::is_none")]
    pub expiration: Option<String>,
    pub name: String,
    pub object_roles: Vec<crate::models::ObjectRole>,
}