pub struct Renewed {
pub access_token: String,
pub refresh_token: Option<String>,
pub expires_in: i64,
pub refresh_token_expires_in: Option<i64>,
pub scopes: Option<Vec<String>>,
}Expand description
Fresh tokens for a parked login, as the token endpoint returns them.
Fields§
§access_token: String§refresh_token: Option<String>None when the server keeps the refresh token it was given.
expires_in: i64§refresh_token_expires_in: Option<i64>§scopes: Option<Vec<String>>Trait Implementations§
impl StructuralPartialEq for Renewed
Auto Trait Implementations§
impl Freeze for Renewed
impl RefUnwindSafe for Renewed
impl Send for Renewed
impl Sync for Renewed
impl Unpin for Renewed
impl UnsafeUnpin for Renewed
impl UnwindSafe for Renewed
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