pub struct TokenPair {
pub access: String,
pub refresh: String,
}
Expand description
Access-Refresh token pair
Fields§
§access: String
§refresh: String
Trait 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 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