Enum tame_oauth::gcp::TokenOrRequest
source · pub enum TokenOrRequest {
Token(Token),
Request {
request: Request<Vec<u8>>,
reason: RequestReason,
scope_hash: u64,
},
}
Expand description
Either a valid token, or an HTTP request that can be used to acquire one
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TokenOrRequest
impl !RefUnwindSafe for TokenOrRequest
impl Send for TokenOrRequest
impl Sync for TokenOrRequest
impl Unpin for TokenOrRequest
impl !UnwindSafe for TokenOrRequest
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