pub struct Builder { /* private fields */ }
Expand description

Builder configures the credentials source or scopes of OAuth 2.0.

Implementations

Create a builder with the default settings.

Configure the credential json data.

Configure the credential file path.

Configure the scope of OAuth 2.0.

Create a token using the builder settings. This library has not yet made API access for authentication.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.