Struct fastly_api::models::automation_token_create_request_attributes::AutomationTokenCreateRequestAttributes
source · pub struct AutomationTokenCreateRequestAttributes {
pub name: Option<String>,
pub role: Option<Role>,
pub services: Option<Vec<String>>,
pub scope: Option<Scope>,
pub expires_at: Option<String>,
pub tls_access: Option<bool>,
}
Fields§
§name: Option<String>
name of the token
role: Option<Role>
§services: Option<Vec<String>>
List of service ids to limit the token
scope: Option<Scope>
§expires_at: Option<String>
A UTC time-stamp of when the token will expire.
tls_access: Option<bool>
Indicates whether TLS access is enabled for the token.
Implementations§
Trait Implementations§
source§impl Clone for AutomationTokenCreateRequestAttributes
impl Clone for AutomationTokenCreateRequestAttributes
source§fn clone(&self) -> AutomationTokenCreateRequestAttributes
fn clone(&self) -> AutomationTokenCreateRequestAttributes
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 AutomationTokenCreateRequestAttributes
impl Default for AutomationTokenCreateRequestAttributes
source§fn default() -> AutomationTokenCreateRequestAttributes
fn default() -> AutomationTokenCreateRequestAttributes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AutomationTokenCreateRequestAttributes
impl<'de> Deserialize<'de> for AutomationTokenCreateRequestAttributes
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