Struct github_auth::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
scopes: Option<Vec<String>>
GitHub auth scopes. E.g. ['user'].
note: String
Saved with the token on GitHub. Allows you to identify the purpose of this token from the GitHub UI.
user_agent: Option<String>
User agent used to make a request.
Trait Implementations
impl Debug for Config[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more