Struct fastly_api::models::automation_token::AutomationToken   
source · pub struct AutomationToken {
    pub name: Option<String>,
    pub role: Option<Role>,
    pub services: Option<Vec<String>>,
    pub scope: Option<Scope>,
    pub expires_at: Option<String>,
}Fields§
§name: Option<String>The name of the token.
role: Option<Role>The role on the token.
services: Option<Vec<String>>(Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account.
scope: Option<Scope>A space-delimited list of authorization scope.
expires_at: Option<String>A UTC time-stamp of when the token expires.
Implementations§
source§impl AutomationToken
 
impl AutomationToken
pub fn new() -> AutomationToken
Trait Implementations§
source§impl Clone for AutomationToken
 
impl Clone for AutomationToken
source§fn clone(&self) -> AutomationToken
 
fn clone(&self) -> AutomationToken
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 Debug for AutomationToken
 
impl Debug for AutomationToken
source§impl Default for AutomationToken
 
impl Default for AutomationToken
source§fn default() -> AutomationToken
 
fn default() -> AutomationToken
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AutomationToken
 
impl<'de> Deserialize<'de> for AutomationToken
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 for AutomationToken
 
impl PartialEq for AutomationToken
source§fn eq(&self, other: &AutomationToken) -> bool
 
fn eq(&self, other: &AutomationToken) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for AutomationToken
 
impl Serialize for AutomationToken
impl StructuralPartialEq for AutomationToken
Auto Trait Implementations§
impl Freeze for AutomationToken
impl RefUnwindSafe for AutomationToken
impl Send for AutomationToken
impl Sync for AutomationToken
impl Unpin for AutomationToken
impl UnwindSafe for AutomationToken
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)