pub struct ExternalAccountSecret {
pub audience: String,
pub subject_token_type: String,
pub service_account_impersonation_url: Option<String>,
pub token_url: String,
pub credential_source: CredentialSource,
pub key_type: String,
}
Expand description
JSON schema of external account secret.
You can use helpers::read_external_account_secret()
to read a JSON file
into a ExternalAccountSecret
.
Fields§
§audience: String
audience
subject_token_type: String
subject_token_type
service_account_impersonation_url: Option<String>
service_account_impersonation_url
token_url: String
token_url
credential_source: CredentialSource
credential_source
key_type: String
key_type
Trait Implementations§
source§impl Clone for ExternalAccountSecret
impl Clone for ExternalAccountSecret
source§fn clone(&self) -> ExternalAccountSecret
fn clone(&self) -> ExternalAccountSecret
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 Debug for ExternalAccountSecret
impl Debug for ExternalAccountSecret
source§impl<'de> Deserialize<'de> for ExternalAccountSecret
impl<'de> Deserialize<'de> for ExternalAccountSecret
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 ExternalAccountSecret
impl RefUnwindSafe for ExternalAccountSecret
impl Send for ExternalAccountSecret
impl Sync for ExternalAccountSecret
impl Unpin for ExternalAccountSecret
impl UnwindSafe for ExternalAccountSecret
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)