Struct github_release::ghauth::Config [] [src]

pub struct Config {
    pub scopes: Option<Vec<String>>,
    pub note: String,
    pub user_agent: Option<String>,
}

Configuration passed to create a new GitHub auth instance.

Fields

GitHub auth scopes. E.g. ['user'].

Saved with the token on GitHub. Allows you to identify the purpose of this token from the GitHub UI.

User agent used to make a request.

Trait Implementations

impl Debug for Config
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config