pub struct AccessTokenResponse {
pub token_type: String,
pub expires_in: u64,
pub scope: String,
pub access_token: String,
pub refresh_token: String,
pub user_id: String,
}
Fields§
§token_type: String
§expires_in: u64
§scope: String
§access_token: String
§refresh_token: String
§user_id: String
Trait Implementations§
Source§impl Clone for AccessTokenResponse
impl Clone for AccessTokenResponse
Source§fn clone(&self) -> AccessTokenResponse
fn clone(&self) -> AccessTokenResponse
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 AccessTokenResponse
impl Debug for AccessTokenResponse
Source§impl<'de> Deserialize<'de> for AccessTokenResponse
impl<'de> Deserialize<'de> for AccessTokenResponse
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 AccessTokenResponse
impl RefUnwindSafe for AccessTokenResponse
impl Send for AccessTokenResponse
impl Sync for AccessTokenResponse
impl Unpin for AccessTokenResponse
impl UnwindSafe for AccessTokenResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)