pub struct GoogleAccessToken {
pub access_token: String,
pub scope: Option<String>,
pub token_type: GoogleAccessTokenType,
pub expires_in: u64,
}Expand description
Representation of Google Access Token JSON
Fields§
§access_token: StringThe base64 encoded String containing the token
scope: Option<String>The OAuth scope that the token carries
token_type: GoogleAccessTokenTypeType of the token.
expires_in: u64Expiration date of the token
Trait Implementations§
Source§impl Debug for GoogleAccessToken
impl Debug for GoogleAccessToken
Source§impl<'de> Deserialize<'de> for GoogleAccessToken
impl<'de> Deserialize<'de> for GoogleAccessToken
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GoogleAccessToken
impl RefUnwindSafe for GoogleAccessToken
impl Send for GoogleAccessToken
impl Sync for GoogleAccessToken
impl Unpin for GoogleAccessToken
impl UnwindSafe for GoogleAccessToken
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