pub struct AuthTokensResource {
pub access_token: String,
pub refresh_token: String,
pub access_token_expires_in: u64,
pub refresh_token_expires_in: u64,
pub is_new: bool,
}Fields§
§access_token: String§refresh_token: String§access_token_expires_in: u64§refresh_token_expires_in: u64§is_new: boolTrait Implementations§
impl ApiResource for AuthTokensResource
Source§impl Clone for AuthTokensResource
impl Clone for AuthTokensResource
Source§fn clone(&self) -> AuthTokensResource
fn clone(&self) -> AuthTokensResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthTokensResource
impl Debug for AuthTokensResource
Source§impl<'de> Deserialize<'de> for AuthTokensResource
impl<'de> Deserialize<'de> for AuthTokensResource
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
impl Eq for AuthTokensResource
Source§impl PartialEq for AuthTokensResource
impl PartialEq for AuthTokensResource
Source§fn eq(&self, other: &AuthTokensResource) -> bool
fn eq(&self, other: &AuthTokensResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthTokensResource
impl Serialize for AuthTokensResource
impl StructuralPartialEq for AuthTokensResource
Auto Trait Implementations§
impl Freeze for AuthTokensResource
impl RefUnwindSafe for AuthTokensResource
impl Send for AuthTokensResource
impl Sync for AuthTokensResource
impl Unpin for AuthTokensResource
impl UnsafeUnpin for AuthTokensResource
impl UnwindSafe for AuthTokensResource
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