Struct inth_oauth2::token::Bearer [] [src]

pub struct Bearer<L: Lifetime> { /* fields omitted */ }

The bearer token type.

See RFC 6750.

Trait Implementations

impl<L: Debug + Lifetime> Debug for Bearer<L>
[src]

[src]

Formats the value using the given formatter.

impl<L: Clone + Lifetime> Clone for Bearer<L>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<L: PartialEq + Lifetime> PartialEq for Bearer<L>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<L: Eq + Lifetime> Eq for Bearer<L>
[src]

impl<L: Lifetime> Token<L> for Bearer<L>
[src]

[src]

Returns the access token. Read more

[src]

Returns the scope, if available.

[src]

Returns the token lifetime.

impl<'a, L: Lifetime> Into<Authorization<Bearer>> for &'a Bearer<L>
[src]

[src]

Performs the conversion.

impl<L: Lifetime> FromResponse for Bearer<L>
[src]

[src]

Parse a JSON response.

[src]

Parse a JSON response, inheriting missing values from the previous instance. Read more