pub struct AccountTokens {
pub access_token_expiry: DateTime<Utc>,
pub access_token: String,
pub refresh_token: String,
}Expand description
The token data required to authorize client requests to the OpenTalk API.
Fields§
§access_token_expiry: DateTime<Utc>Expiry timestamp of access token
access_token: StringAccess token field
refresh_token: StringRefresh token field
Trait Implementations§
Source§impl Clone for AccountTokens
impl Clone for AccountTokens
Source§fn clone(&self) -> AccountTokens
fn clone(&self) -> AccountTokens
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 AccountTokens
impl Debug for AccountTokens
Source§impl<'de> Deserialize<'de> for AccountTokens
impl<'de> Deserialize<'de> for AccountTokens
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 AccountTokens
impl PartialEq for AccountTokens
Source§impl Serialize for AccountTokens
impl Serialize for AccountTokens
impl Eq for AccountTokens
impl StructuralPartialEq for AccountTokens
Auto Trait Implementations§
impl Freeze for AccountTokens
impl RefUnwindSafe for AccountTokens
impl Send for AccountTokens
impl Sync for AccountTokens
impl Unpin for AccountTokens
impl UnsafeUnpin for AccountTokens
impl UnwindSafe for AccountTokens
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