pub struct OAuthTokenResponse {
pub access_token: String,
pub expires_in: u32,
pub refresh_expires_in: u32,
pub refresh_token: String,
pub token_type: String,
pub not_before_policy: u32,
pub session_state: Uuid,
pub scope: String,
pub client_type: ApiClientProfile,
}
Fields§
§access_token: String
§expires_in: u32
§refresh_expires_in: u32
§refresh_token: String
§token_type: String
§not_before_policy: u32
§session_state: Uuid
§scope: String
§client_type: ApiClientProfile
Trait Implementations§
Source§impl Clone for OAuthTokenResponse
impl Clone for OAuthTokenResponse
Source§fn clone(&self) -> OAuthTokenResponse
fn clone(&self) -> OAuthTokenResponse
Returns a copy 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 OAuthTokenResponse
impl Debug for OAuthTokenResponse
Source§impl<'de> Deserialize<'de> for OAuthTokenResponse
impl<'de> Deserialize<'de> for OAuthTokenResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthTokenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthTokenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OAuthTokenResponse> for AuthTokens
impl From<OAuthTokenResponse> for AuthTokens
Source§fn from(value: OAuthTokenResponse) -> AuthTokens
fn from(value: OAuthTokenResponse) -> AuthTokens
Converts to this type from the input type.
Source§impl FromResponse for OAuthTokenResponse
impl FromResponse for OAuthTokenResponse
type Response = OAuthTokenResponse
fn from_response( res: <OAuthTokenResponse as FromResponse>::Response, ) -> OAuthTokenResponse
Auto Trait Implementations§
impl Freeze for OAuthTokenResponse
impl RefUnwindSafe for OAuthTokenResponse
impl Send for OAuthTokenResponse
impl Sync for OAuthTokenResponse
impl Unpin for OAuthTokenResponse
impl UnwindSafe for OAuthTokenResponse
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