Struct repo_backup::config::GitLabConfig[][src]

pub struct GitLabConfig {
    pub api_key: Secret<String>,
    pub host: String,
    pub organisations: bool,
    pub owned: bool,
}

Github-specific settings.

Fields

The API key to use. Make sure you create a new personal access token and give it the "api" scope, if you haven't already.

Hostname of the GitLab instance to fetch repositories from.

Should we download all repos owned by organisations you are a part of? (default: false)

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

Trait Implementations

impl Debug for GitLabConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for GitLabConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GitLabConfig
[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