Struct google_cloud_auth::credentials::CredentialsFile
source · pub struct CredentialsFile {Show 20 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 service_account_impersonation: Option<ServiceAccountImpersonationInfo>,
pub delegates: Option<Vec<String>>,
pub credential_source: Option<CredentialSource>,
pub quota_project_id: Option<String>,
pub workforce_pool_user_project: Option<String>,
}Fields§
§tp: String§client_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>§service_account_impersonation: Option<ServiceAccountImpersonationInfo>§delegates: Option<Vec<String>>§credential_source: Option<CredentialSource>§quota_project_id: Option<String>§workforce_pool_user_project: Option<String>Implementations§
Trait Implementations§
source§impl Clone for CredentialsFile
impl Clone for CredentialsFile
source§fn clone(&self) -> CredentialsFile
fn clone(&self) -> CredentialsFile
Returns a copy 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<'de> Deserialize<'de> for CredentialsFile
impl<'de> Deserialize<'de> for CredentialsFile
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
source§impl PartialEq for CredentialsFile
impl PartialEq for CredentialsFile
source§fn eq(&self, other: &CredentialsFile) -> bool
fn eq(&self, other: &CredentialsFile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CredentialsFile
Auto Trait Implementations§
impl RefUnwindSafe for CredentialsFile
impl Send for CredentialsFile
impl Sync for CredentialsFile
impl Unpin for CredentialsFile
impl UnwindSafe for CredentialsFile
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