Struct scaleway_api_rs::models::scaleway_period_iam_period_v1alpha1_period_api_key::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
source · pub struct ScalewayPeriodIamPeriodV1alpha1PeriodApiKey {
pub access_key: Option<String>,
pub secret_key: Option<Option<String>>,
pub application_id: Option<String>,
pub user_id: Option<String>,
pub description: Option<String>,
pub created_at: Option<Option<String>>,
pub updated_at: Option<Option<String>>,
pub expires_at: Option<Option<String>>,
pub default_project_id: Option<String>,
pub editable: Option<bool>,
pub creation_ip: Option<String>,
}
Fields§
§access_key: Option<String>
Access key of API key
secret_key: Option<Option<String>>
Secret key of API Key
application_id: Option<String>
ID of application bearer
user_id: Option<String>
ID of user bearer
description: Option<String>
Description of API key
created_at: Option<Option<String>>
Creation date and time of API key (RFC 3339 format)
updated_at: Option<Option<String>>
Last update date and time of API key (RFC 3339 format)
expires_at: Option<Option<String>>
Expiration date and time of API key (RFC 3339 format)
default_project_id: Option<String>
The default project ID specified for this API key
editable: Option<bool>
Whether or not the API key is editable
creation_ip: Option<String>
IP Address of the device which created the API key
Implementations§
Trait Implementations§
source§impl Clone for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
impl Clone for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
source§fn clone(&self) -> ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
fn clone(&self) -> ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
impl Default for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
source§fn default() -> ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
fn default() -> ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
impl<'de> Deserialize<'de> for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ScalewayPeriodIamPeriodV1alpha1PeriodApiKey> for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
impl PartialEq<ScalewayPeriodIamPeriodV1alpha1PeriodApiKey> for ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
source§fn eq(&self, other: &ScalewayPeriodIamPeriodV1alpha1PeriodApiKey) -> bool
fn eq(&self, other: &ScalewayPeriodIamPeriodV1alpha1PeriodApiKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.