Enum hubcaps::Credentials[][src]

pub enum Credentials {
    Token(String),
    Client(StringString),
}

Various forms of authentication credentials supported by Github

Variants

Oauth token string https://developer.github.com/v3/#oauth2-token-sent-in-a-header

Oauth client id and secret https://developer.github.com/v3/#oauth2-keysecret

Trait Implementations

impl Debug for Credentials
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Credentials
[src]

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

This method tests for !=.

impl Clone for Credentials
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Credentials

impl Sync for Credentials