Struct cloud_storage::service_account::ServiceAccount[][src]

pub struct ServiceAccount {
    pub type: String,
    pub project_id: String,
    pub private_key_id: String,
    pub private_key: String,
    pub client_email: String,
    pub client_id: String,
    pub auth_uri: String,
    pub token_uri: String,
    pub auth_provider_x509_cert_url: String,
    pub client_x509_cert_url: String,
}

A deserialized service-account-********.json-file.

Fields

type: String

The type of authentication, this should always be service_account.

project_id: String

The name of the current project.

private_key_id: String

A unqiue identifier for the private key.

private_key: String

The private key in RSA format.

client_email: String

The email address associated with the service account.

client_id: String

The unique identifier for this client.

auth_uri: String

The endpoint where authentication happens.

token_uri: String

The endpoint where OAuth2 tokens are issued.

auth_provider_x509_cert_url: String

The url of the cert provider.

client_x509_cert_url: String

The url of a static file containing metadata for this certificate.

Trait Implementations

impl Debug for ServiceAccount[src]

impl<'de> Deserialize<'de> for ServiceAccount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.