pub struct AutomationTokenResponse {Show 14 fields
    pub name: Option<String>,
    pub role: Option<String>,
    pub services: Option<Vec<String>>,
    pub scope: Option<Scope>,
    pub expires_at: Option<String>,
    pub created_at: Option<String>,
    pub deleted_at: Option<String>,
    pub updated_at: Option<String>,
    pub id: Option<Box<ReadOnlyId>>,
    pub customer_id: Option<Box<ReadOnlyCustomerId>>,
    pub ip: Option<String>,
    pub user_agent: Option<String>,
    pub sudo_expires_at: Option<String>,
    pub last_used_at: Option<String>,
}Fields§
§name: Option<String>The name of the token.
role: Option<String>§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>(optional) A UTC time-stamp of when the token will expire.
created_at: Option<String>A UTC time-stamp of when the token was created.
deleted_at: Option<String>Date and time in ISO 8601 format.
updated_at: Option<String>Date and time in ISO 8601 format.
id: Option<Box<ReadOnlyId>>§customer_id: Option<Box<ReadOnlyCustomerId>>§ip: Option<String>The IP address of the client that last used the token.
user_agent: Option<String>The User-Agent header of the client that last used the token.
sudo_expires_at: Option<String>§last_used_at: Option<String>A UTC time-stamp of when the token was last used.
Implementations§
source§impl AutomationTokenResponse
 
impl AutomationTokenResponse
pub fn new() -> AutomationTokenResponse
Trait Implementations§
source§impl Clone for AutomationTokenResponse
 
impl Clone for AutomationTokenResponse
source§fn clone(&self) -> AutomationTokenResponse
 
fn clone(&self) -> AutomationTokenResponse
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 AutomationTokenResponse
 
impl Debug for AutomationTokenResponse
source§impl Default for AutomationTokenResponse
 
impl Default for AutomationTokenResponse
source§fn default() -> AutomationTokenResponse
 
fn default() -> AutomationTokenResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AutomationTokenResponse
 
impl<'de> Deserialize<'de> for AutomationTokenResponse
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 AutomationTokenResponse
 
impl PartialEq for AutomationTokenResponse
source§fn eq(&self, other: &AutomationTokenResponse) -> bool
 
fn eq(&self, other: &AutomationTokenResponse) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for AutomationTokenResponse
 
impl Serialize for AutomationTokenResponse
impl StructuralPartialEq for AutomationTokenResponse
Auto Trait Implementations§
impl Freeze for AutomationTokenResponse
impl RefUnwindSafe for AutomationTokenResponse
impl Send for AutomationTokenResponse
impl Sync for AutomationTokenResponse
impl Unpin for AutomationTokenResponse
impl UnwindSafe for AutomationTokenResponse
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)