Enum oauth2::basic::BasicTokenType [−][src]
pub enum BasicTokenType {
Bearer,
Mac,
Extension(String),
}
Expand description
Basic OAuth2 authorization token types.
Variants
Bearer
Bearer token (OAuth 2.0 Bearer Tokens - RFC 6750).
Mac
Extension(String)
Tuple Fields
0: String
An extension not defined by RFC 6749.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
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 BasicTokenType
impl Send for BasicTokenType
impl Sync for BasicTokenType
impl Unpin for BasicTokenType
impl UnwindSafe for BasicTokenType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more