pub struct GoogleTokens {
pub id_token: String,
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub expires_in: Option<u64>,
}Expand description
Tokens from Google. id_token is what the cloud wants.
Fields§
§id_token: String§access_token: Option<String>§refresh_token: Option<String>§expires_in: Option<u64>Seconds.
Trait Implementations§
Source§impl Clone for GoogleTokens
impl Clone for GoogleTokens
Source§impl Debug for GoogleTokens
impl Debug for GoogleTokens
impl Eq for GoogleTokens
Source§impl PartialEq for GoogleTokens
impl PartialEq for GoogleTokens
impl StructuralPartialEq for GoogleTokens
Auto Trait Implementations§
impl Forget for GoogleTokens
impl Freeze for GoogleTokens
impl Move for GoogleTokens
impl RefUnwindSafe for GoogleTokens
impl Send for GoogleTokenswhere
RawVecInner: Send,
impl Sync for GoogleTokenswhere
RawVecInner: Sync,
impl Unpin for GoogleTokens
impl UnsafeUnpin for GoogleTokens
impl UnwindSafe for GoogleTokenswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.