pub struct TokenResult {
pub access_token: String,
pub refresh_token: Option<String>,
pub token_type: String,
pub extra: InnerExtraTokenFields,
pub expires_in: Option<Duration>,
}Fields§
§access_token: String§refresh_token: Option<String>§token_type: String§extra: InnerExtraTokenFields§expires_in: Option<Duration>Trait Implementations§
source§impl Clone for TokenResult
impl Clone for TokenResult
source§fn clone(&self) -> TokenResult
fn clone(&self) -> TokenResult
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 TokenResult
impl Debug for TokenResult
source§impl Default for TokenResult
impl Default for TokenResult
source§fn default() -> TokenResult
fn default() -> TokenResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TokenResult
impl RefUnwindSafe for TokenResult
impl Send for TokenResult
impl Sync for TokenResult
impl Unpin for TokenResult
impl UnwindSafe for TokenResult
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)