Struct yup_oauth2::ServiceAccountKey [−][src]
pub struct ServiceAccountKey { pub key_type: Option<String>, pub project_id: Option<String>, pub private_key_id: Option<String>, pub private_key: Option<String>, pub client_email: Option<String>, pub client_id: Option<String>, pub auth_uri: Option<String>, pub token_uri: Option<String>, pub auth_provier_x509_cert_url: Option<String>, pub client_x509_cert_url: Option<String>, }
JSON schema of secret service account key. You can obtain the key from the Cloud Console at https://console.cloud.google.com/.
You can use helpers::service_account_key_from_file()
as a quick way to read a JSON client
secret into a ServiceAccountKey.
Fields
key_type: Option<String>
project_id: Option<String>
private_key_id: Option<String>
private_key: Option<String>
client_email: Option<String>
client_id: Option<String>
auth_uri: Option<String>
token_uri: Option<String>
auth_provier_x509_cert_url: Option<String>
client_x509_cert_url: Option<String>
Trait Implementations
impl Debug for ServiceAccountKey
[src]
impl Debug for ServiceAccountKey
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 ServiceAccountKey
[src]
impl Clone for ServiceAccountKey
fn clone(&self) -> ServiceAccountKey
[src]
fn clone(&self) -> ServiceAccountKey
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
Auto Trait Implementations
impl Send for ServiceAccountKey
impl Send for ServiceAccountKey
impl Sync for ServiceAccountKey
impl Sync for ServiceAccountKey