pub struct RefreshTokenRequest {
pub grant_type: String,
pub refresh_token: String,
pub client_id: String,
pub scope: Option<String>,
}
Expand description
Token refresh request payload
Fields§
§grant_type: String
Grant type (always “refresh_token”)
refresh_token: String
Refresh token
client_id: String
Client identifier
scope: Option<String>
Optional scope (should not exceed originally granted scope)
Trait Implementations§
Source§impl Clone for RefreshTokenRequest
impl Clone for RefreshTokenRequest
Source§fn clone(&self) -> RefreshTokenRequest
fn clone(&self) -> RefreshTokenRequest
Returns a duplicate 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 RefreshTokenRequest
impl Debug for RefreshTokenRequest
Auto Trait Implementations§
impl Freeze for RefreshTokenRequest
impl RefUnwindSafe for RefreshTokenRequest
impl Send for RefreshTokenRequest
impl Sync for RefreshTokenRequest
impl Unpin for RefreshTokenRequest
impl UnwindSafe for RefreshTokenRequest
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