Enum travis::Credential
[−]
[src]
pub enum Credential { Token(String), Github(String), }
Representation of types of API credentials used to authenticate the client
Variants
Token(String)
A Travis API token
Typically obtained from travis token
ruby cli
Github(String)
A Github API token
This will be immediately exchanged for a travis token
after constructing a travis::Client
instance.
Care should be taken to associate appropriate
Github scopes
with these tokens to perform target operations for on oss vs private
repositories
Trait Implementations
impl Clone for Credential
[src]
fn clone(&self) -> Credential
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more