Struct repo_backup::config::GithubConfig[][src]

pub struct GithubConfig {
    pub api_key: Secret<String>,
    pub starred: bool,
    pub owned: bool,
}

Github-specific settings.

Fields

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.

Should we download all starred repos? (default: true)

Should we download all owned repos? (default: true)

Trait Implementations

impl Debug for GithubConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for GithubConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GithubConfig
[src]

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

This method tests for !=.

Auto Trait Implementations