Struct tame_oauth::gcp::ServiceAccountInfo
source · pub struct ServiceAccountInfo {
pub private_key: String,
pub client_email: String,
pub token_uri: String,
}Expand description
Minimal parts needed from a GCP service acccount key for token acquisition
Fields§
§private_key: StringThe private key we use to sign
client_email: StringThe unique id used as the issuer of the JWT claim
token_uri: StringThe URI we send the token requests to, eg https://oauth2.googleapis.com/token
Implementations§
Trait Implementations§
source§impl Clone for ServiceAccountInfo
impl Clone for ServiceAccountInfo
source§fn clone(&self) -> ServiceAccountInfo
fn clone(&self) -> ServiceAccountInfo
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 ServiceAccountInfo
impl Debug for ServiceAccountInfo
source§impl<'de> Deserialize<'de> for ServiceAccountInfo
impl<'de> Deserialize<'de> for ServiceAccountInfo
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