Struct oauthcli::OAuthAuthorizationHeader [] [src]

pub struct OAuthAuthorizationHeader { /* fields omitted */ }

Authorization header for OAuth.

If you enable "hyper" feature, this implements hyper::header::Scheme trait.

Example

let header: OAuthAuthorizationHeader = "oauth_consumer_key=\"foo\"".parse().unwrap();
assert_eq!(header.to_string(), "OAuth oauth_consumer_key=\"foo\"");

Methods

impl OAuthAuthorizationHeader
[src]

auth-param in RFC 7235

Trait Implementations

impl Debug for OAuthAuthorizationHeader
[src]

Formats the value using the given formatter.

impl Clone for OAuthAuthorizationHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for OAuthAuthorizationHeader
[src]

Formats the value using the given formatter. Read more

impl FromStr for OAuthAuthorizationHeader
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more