Struct repo_backup::config::Config [] [src]

pub struct Config {
    pub general: General,
    pub github: Option<GithubConfig>,
}

The overall configuration struct.

Fields

General configuration options.

Settings specific to the Github provider.

Methods

impl Config
[src]

[src]

Load a Config from some file on disk.

[src]

Load the config directly from a source string.

[src]

Generate an example config.

[src]

Serialize the Config as TOML.

Trait Implementations

impl Debug for Config
[src]

[src]

Formats the value using the given formatter.

impl Clone for Config
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Config
[src]

[src]

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

[src]

This method tests for !=.