Struct repo_backup::config::GithubConfig
[−]
[src]
pub struct GithubConfig {
pub api_key: String,
pub starred: bool,
pub owned: bool,
}Github-specific settings.
Fields
api_key: String
The API key to use. You will need to create a new personal access
token and give it the public_repo permissions before you can
fetch repos from GitHub.
starred: bool
Should we download all starred repos? (default: true)
owned: bool
Should we download all owned repos? (default: true)
Trait Implementations
impl Debug for GithubConfig[src]
impl Clone for GithubConfig[src]
fn clone(&self) -> GithubConfig[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
impl PartialEq for GithubConfig[src]
fn eq(&self, __arg_0: &GithubConfig) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GithubConfig) -> bool[src]
This method tests for !=.