Struct yup_oauth2::Scheme
[−]
[src]
pub struct Scheme { pub token_type: TokenType, pub access_token: String, }
A scheme for use in hyper::header::Authorization
Fields
token_type: TokenType
The type of our access token
access_token: String
The token returned by one of the Authorization Flows
Trait Implementations
impl Debug for Scheme
[src]
impl PartialEq for Scheme
[src]
fn eq(&self, __arg_0: &Scheme) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Scheme) -> bool
This method tests for !=
.
impl Clone for Scheme
[src]
fn clone(&self) -> Scheme
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Scheme for Scheme
[src]
fn scheme() -> Option<&'static str>
An optional Scheme name. Read more
fn fmt_scheme(&self, f: &mut Formatter) -> Result
Format the Scheme data into a header value.