pub struct AuthorizationTokens {
pub access_token: String,
pub token_type: String,
pub refresh_token: String,
pub scope: String,
pub api_domain: String,
pub expires_in: usize,
}Expand description
Based on https://pipedrive.readme.io/docs/marketplace-oauth-authorization
Fields§
§access_token: String§token_type: String§refresh_token: String§scope: String§api_domain: String§expires_in: usizeTrait Implementations§
Source§impl Clone for AuthorizationTokens
impl Clone for AuthorizationTokens
Source§fn clone(&self) -> AuthorizationTokens
fn clone(&self) -> AuthorizationTokens
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 AuthorizationTokens
impl Debug for AuthorizationTokens
Source§impl Default for AuthorizationTokens
impl Default for AuthorizationTokens
Source§fn default() -> AuthorizationTokens
fn default() -> AuthorizationTokens
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationTokens
impl<'de> Deserialize<'de> for AuthorizationTokens
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
Auto Trait Implementations§
impl Freeze for AuthorizationTokens
impl RefUnwindSafe for AuthorizationTokens
impl Send for AuthorizationTokens
impl Sync for AuthorizationTokens
impl Unpin for AuthorizationTokens
impl UnsafeUnpin for AuthorizationTokens
impl UnwindSafe for AuthorizationTokens
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