Struct fastly_api::models::automation_token_create_response::AutomationTokenCreateResponse
source · [−]pub struct AutomationTokenCreateResponse {Show 15 fields
pub id: Option<String>,
pub user_id: Option<String>,
pub customer_id: Option<String>,
pub name: Option<String>,
pub role: Option<Role>,
pub scopes: Option<Scopes>,
pub scope: Option<Scope>,
pub services: Option<Vec<String>>,
pub sudo_expires_at: Option<String>,
pub created_at: Option<String>,
pub expires_at: Option<String>,
pub object: Option<String>,
pub access_token: Option<String>,
pub last_used_at: Option<String>,
pub user_agent: Option<String>,
}Fields
id: Option<String>user_id: Option<String>customer_id: Option<String>name: Option<String>role: Option<Role>scopes: Option<Scopes>scope: Option<Scope>services: Option<Vec<String>>List of alphanumeric strings identifying services (optional). If no services are specified, the token will have access to all services on the account.
sudo_expires_at: Option<String>created_at: Option<String>Time-stamp (UTC) of when the token was created.
expires_at: Option<String>object: Option<String>access_token: Option<String>last_used_at: Option<String>Time-stamp (UTC) of when the token was last used.
user_agent: Option<String>User-Agent header of the client that last used the token.
Implementations
Trait Implementations
sourceimpl Clone for AutomationTokenCreateResponse
impl Clone for AutomationTokenCreateResponse
sourcefn clone(&self) -> AutomationTokenCreateResponse
fn clone(&self) -> AutomationTokenCreateResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AutomationTokenCreateResponse
impl Debug for AutomationTokenCreateResponse
sourceimpl Default for AutomationTokenCreateResponse
impl Default for AutomationTokenCreateResponse
sourcefn default() -> AutomationTokenCreateResponse
fn default() -> AutomationTokenCreateResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AutomationTokenCreateResponse
impl<'de> Deserialize<'de> for AutomationTokenCreateResponse
sourcefn 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
sourceimpl PartialEq<AutomationTokenCreateResponse> for AutomationTokenCreateResponse
impl PartialEq<AutomationTokenCreateResponse> for AutomationTokenCreateResponse
sourcefn eq(&self, other: &AutomationTokenCreateResponse) -> bool
fn eq(&self, other: &AutomationTokenCreateResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for AutomationTokenCreateResponse
Auto Trait Implementations
impl RefUnwindSafe for AutomationTokenCreateResponse
impl Send for AutomationTokenCreateResponse
impl Sync for AutomationTokenCreateResponse
impl Unpin for AutomationTokenCreateResponse
impl UnwindSafe for AutomationTokenCreateResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more