pub struct CredentialsFile {
Show 17 fields pub tp: String, pub client_email: Option<String>, pub private_key_id: Option<String>, pub private_key: Option<String>, pub auth_uri: Option<String>, pub token_uri: Option<String>, pub project_id: Option<String>, pub client_secret: Option<String>, pub client_id: Option<String>, pub refresh_token: Option<String>, pub audience: Option<String>, pub subject_token_type: Option<String>, pub token_url_external: Option<String>, pub token_info_url: Option<String>, pub service_account_impersonation_url: Option<String>, pub credential_source: Option<CredentialSource>, pub quota_project_id: Option<String>,
}

Fields

tp: Stringclient_email: Option<String>private_key_id: Option<String>private_key: Option<String>auth_uri: Option<String>token_uri: Option<String>project_id: Option<String>client_secret: Option<String>client_id: Option<String>refresh_token: Option<String>audience: Option<String>subject_token_type: Option<String>token_url_external: Option<String>token_info_url: Option<String>service_account_impersonation_url: Option<String>credential_source: Option<CredentialSource>quota_project_id: Option<String>

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Deserialize this value from the given Serde deserializer. 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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more