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,
}Expand description
A deserialized service-account-********.json-file.
Fields
type: StringThe type of authentication, this should always be service_account.
project_id: StringThe name of the current project.
private_key_id: StringA unqiue identifier for the private key.
private_key: StringThe private key in RSA format.
client_email: StringThe email address associated with the service account.
client_id: StringThe unique identifier for this client.
auth_uri: StringThe endpoint where authentication happens.
token_uri: StringThe endpoint where OAuth2 tokens are issued.
auth_provider_x509_cert_url: StringThe url of the cert provider.
client_x509_cert_url: StringThe url of a static file containing metadata for this certificate.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServiceAccountimpl Send for ServiceAccountimpl Sync for ServiceAccountimpl Unpin for ServiceAccountimpl UnwindSafe for ServiceAccount