Struct inth_oauth2_async::token::Bearer [−][src]
pub struct Bearer<L: Lifetime> { /* fields omitted */ }
Expand description
The bearer token type.
See RFC 6750.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Parse a JSON response.
Parse a JSON response, inheriting missing values from the previous instance. Read more
Returns the access token. Read more
Returns the ID token, if available. Returned by Google providers in some cases.
Auto Trait Implementations
impl<L> RefUnwindSafe for Bearer<L> where
L: RefUnwindSafe,
impl<L> UnwindSafe for Bearer<L> where
L: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more