pub struct AuthorizationServerResponse {
pub access_token: AccessToken,
pub expires_in: Duration,
pub refresh_token: Option<String>,
}Expand description
The response an AccessTokenProvider received from an authorization server.
Fields§
§access_token: AccessToken§expires_in: Duration§refresh_token: Option<String>Auto Trait Implementations§
impl Freeze for AuthorizationServerResponse
impl RefUnwindSafe for AuthorizationServerResponse
impl Send for AuthorizationServerResponse
impl Sync for AuthorizationServerResponse
impl Unpin for AuthorizationServerResponse
impl UnsafeUnpin for AuthorizationServerResponse
impl UnwindSafe for AuthorizationServerResponse
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