pub struct AutomationTokenResponseAllOf {
pub id: Option<Box<ReadOnlyId>>,
pub customer_id: Option<Box<ReadOnlyCustomerId>>,
pub role: Option<String>,
pub ip: Option<String>,
pub user_agent: Option<String>,
pub tls_access: Option<bool>,
pub last_used_at: Option<String>,
pub created_at: Option<String>,
pub expires_at: Option<String>,
}
Fields§
§id: Option<Box<ReadOnlyId>>
§customer_id: Option<Box<ReadOnlyCustomerId>>
§role: Option<String>
§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.
tls_access: Option<bool>
Indicates whether TLS access is enabled for the token.
last_used_at: Option<String>
A UTC timestamp of when the token was last used.
created_at: Option<String>
A UTC timestamp of when the token was created.
expires_at: Option<String>
(optional) A UTC timestamp of when the token will expire.
Implementations§
Source§impl AutomationTokenResponseAllOf
impl AutomationTokenResponseAllOf
pub fn new() -> AutomationTokenResponseAllOf
Trait Implementations§
Source§impl Clone for AutomationTokenResponseAllOf
impl Clone for AutomationTokenResponseAllOf
Source§fn clone(&self) -> AutomationTokenResponseAllOf
fn clone(&self) -> AutomationTokenResponseAllOf
Returns a duplicate 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 AutomationTokenResponseAllOf
impl Debug for AutomationTokenResponseAllOf
Source§impl Default for AutomationTokenResponseAllOf
impl Default for AutomationTokenResponseAllOf
Source§fn default() -> AutomationTokenResponseAllOf
fn default() -> AutomationTokenResponseAllOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutomationTokenResponseAllOf
impl<'de> Deserialize<'de> for AutomationTokenResponseAllOf
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 AutomationTokenResponseAllOf
impl PartialEq for AutomationTokenResponseAllOf
Source§fn eq(&self, other: &AutomationTokenResponseAllOf) -> bool
fn eq(&self, other: &AutomationTokenResponseAllOf) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AutomationTokenResponseAllOf
Auto Trait Implementations§
impl Freeze for AutomationTokenResponseAllOf
impl RefUnwindSafe for AutomationTokenResponseAllOf
impl Send for AutomationTokenResponseAllOf
impl Sync for AutomationTokenResponseAllOf
impl Unpin for AutomationTokenResponseAllOf
impl UnwindSafe for AutomationTokenResponseAllOf
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