pub struct TokenPair {
pub access_token: String,
pub refresh_token: String,
pub access_expires_in: u64,
pub refresh_expires_in: u64,
}Expand description
A paired access + refresh token, issued together.
Fields§
§access_token: String§refresh_token: String§access_expires_in: u64§refresh_expires_in: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenPair
impl RefUnwindSafe for TokenPair
impl Send for TokenPair
impl Sync for TokenPair
impl Unpin for TokenPair
impl UnsafeUnpin for TokenPair
impl UnwindSafe for TokenPair
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