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
source§impl PartialEq<AutomationTokenCreateRequestAttributes> for AutomationTokenCreateRequestAttributes
impl PartialEq<AutomationTokenCreateRequestAttributes> for AutomationTokenCreateRequestAttributes
source§fn eq(&self, other: &AutomationTokenCreateRequestAttributes) -> bool
fn eq(&self, other: &AutomationTokenCreateRequestAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationTokenCreateRequestAttributes
Auto Trait Implementations§
impl RefUnwindSafe for AutomationTokenCreateRequestAttributes
impl Send for AutomationTokenCreateRequestAttributes
impl Sync for AutomationTokenCreateRequestAttributes
impl Unpin for AutomationTokenCreateRequestAttributes
impl UnwindSafe for AutomationTokenCreateRequestAttributes
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more