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
api_key: Secret<String>
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.
host: String
Hostname of the GitLab instance to fetch repositories from.
organisations: bool
Should we download all repos owned by organisations you are a part of? (default: false)
owned: bool
Should we download all owned repos? (default: true)
Trait Implementations
impl Debug for GitLabConfig
[src]
impl Debug for GitLabConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GitLabConfig
[src]
impl Clone for GitLabConfig
fn clone(&self) -> GitLabConfig
[src]
fn clone(&self) -> GitLabConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for GitLabConfig
[src]
impl PartialEq for GitLabConfig
fn eq(&self, other: &GitLabConfig) -> bool
[src]
fn eq(&self, other: &GitLabConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GitLabConfig) -> bool
[src]
fn ne(&self, other: &GitLabConfig) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for GitLabConfig
impl Send for GitLabConfig
impl Sync for GitLabConfig
impl Sync for GitLabConfig