Enum rocket_oauth2::TokenRequest [−][src]
Expand description
The token types which can be exchanged with the token endpoint
Variants
AuthorizationCode(String)
Used for the Authorization Code exchange
RefreshToken(String)
Used to refresh an access token
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TokenRequest
impl Send for TokenRequest
impl Sync for TokenRequest
impl Unpin for TokenRequest
impl UnwindSafe for TokenRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V