pub struct ServiceAccountCredentials {
pub account_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,
pub universe_domain: String,
}Expand description
Google service account credentials from JSON key file.
Fields§
§account_type: StringService account type (should be “service_account”).
project_id: StringProject ID.
private_key_id: StringPrivate key ID.
private_key: StringPrivate key in PEM format.
client_email: StringService account email.
client_id: StringClient ID.
auth_uri: StringAuth URI.
token_uri: StringToken URI.
auth_provider_x509_cert_url: StringAuth provider certificate URL.
client_x509_cert_url: StringClient certificate URL.
universe_domain: StringUniverse domain.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceAccountCredentials
impl Clone for ServiceAccountCredentials
Source§fn clone(&self) -> ServiceAccountCredentials
fn clone(&self) -> ServiceAccountCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceAccountCredentials
impl Debug for ServiceAccountCredentials
Source§impl<'de> Deserialize<'de> for ServiceAccountCredentials
impl<'de> Deserialize<'de> for ServiceAccountCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceAccountCredentials
impl RefUnwindSafe for ServiceAccountCredentials
impl Send for ServiceAccountCredentials
impl Sync for ServiceAccountCredentials
impl Unpin for ServiceAccountCredentials
impl UnwindSafe for ServiceAccountCredentials
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more