pub struct AccessToken(/* private fields */);Expand description
An access token, sent as it is. It is not renewed: a service account’s lives five minutes.
Implementations§
Trait Implementations§
Source§impl Clone for AccessToken
impl Clone for AccessToken
Source§impl Credentials for AccessToken
impl Credentials for AccessToken
Source§fn token(&self) -> TokenFuture<'_>
fn token(&self) -> TokenFuture<'_>
A valid access token.
Auto Trait Implementations§
impl Forget for AccessToken
impl Freeze for AccessToken
impl Move for AccessToken
impl RefUnwindSafe for AccessToken
impl Send for AccessTokenwhere
RawVecInner: Send,
impl Sync for AccessTokenwhere
RawVecInner: Sync,
impl Unpin for AccessToken
impl UnsafeUnpin for AccessToken
impl UnwindSafe for AccessTokenwhere
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