Enum hubcaps::Credentials [−][src]
Various forms of authentication credentials supported by Github
Variants
Token(String)
Oauth token string https://developer.github.com/v3/#oauth2-token-sent-in-a-header
Client(String, String)
Oauth client id and secret https://developer.github.com/v3/#oauth2-keysecret
Trait Implementations
impl Debug for Credentials
[src]
impl Debug for Credentials
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 PartialEq for Credentials
[src]
impl PartialEq for Credentials
fn eq(&self, other: &Credentials) -> bool
[src]
fn eq(&self, other: &Credentials) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Credentials) -> bool
[src]
fn ne(&self, other: &Credentials) -> bool
This method tests for !=
.
impl Clone for Credentials
[src]
impl Clone for Credentials
fn clone(&self) -> Credentials
[src]
fn clone(&self) -> Credentials
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
Auto Trait Implementations
impl Send for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Sync for Credentials