pub struct AutomationTokenResponseAllOf {
pub id: Option<Box<String>>,
pub customer_id: Option<Box<String>>,
pub role: Option<String>,
pub ip: Option<String>,
pub user_agent: Option<String>,
pub sudo_expires_at: Option<String>,
pub last_used_at: Option<String>,
pub created_at: Option<String>,
pub expires_at: Option<String>,
}
Fields§
§id: Option<Box<String>>
§customer_id: Option<Box<String>>
§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.
sudo_expires_at: Option<String>
§last_used_at: Option<String>
A UTC time-stamp of when the token was last used.
created_at: Option<String>
A UTC time-stamp of when the token was created.
expires_at: Option<String>
(optional) A UTC time-stamp 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 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 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<AutomationTokenResponseAllOf> for AutomationTokenResponseAllOf
impl PartialEq<AutomationTokenResponseAllOf> for AutomationTokenResponseAllOf
source§fn eq(&self, other: &AutomationTokenResponseAllOf) -> bool
fn eq(&self, other: &AutomationTokenResponseAllOf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationTokenResponseAllOf
Auto Trait Implementations§
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