Struct yup_oauth2::Scheme [−][src]
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 Clone for Scheme
[src]
impl Clone for Scheme
fn clone(&self) -> Scheme
[src]
fn clone(&self) -> Scheme
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Scheme
[src]
impl PartialEq for Scheme
fn eq(&self, other: &Scheme) -> bool
[src]
fn eq(&self, other: &Scheme) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Scheme) -> bool
[src]
fn ne(&self, other: &Scheme) -> bool
This method tests for !=
.
impl Debug for Scheme
[src]
impl Debug for Scheme
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Scheme for Scheme
[src]
impl Scheme for Scheme
fn scheme() -> Option<&'static str>
[src]
fn scheme() -> Option<&'static str>
An optional Scheme name. Read more
fn fmt_scheme(&self, f: &mut Formatter) -> Result
[src]
fn fmt_scheme(&self, f: &mut Formatter) -> Result
Format the Scheme data into a header value.
impl FromStr for Scheme
[src]
impl FromStr for Scheme