pub struct TokenPair {
pub access_token: String,
pub refresh_token: String,
pub access_expires_at: u64,
pub refresh_expires_at: u64,
}Expand description
Access/refresh credentials. Debug output never includes either token.
Fields§
§access_token: String§refresh_token: String§access_expires_at: u64§refresh_expires_at: 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