Struct tame_oauth::gcp::service_account::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 account key for token acquisition
Fields§
§private_key: String
The private key we use to sign
client_email: String
The unique id used as the issuer of the JWT claim
token_uri: String
The 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
Auto Trait Implementations§
impl Freeze for ServiceAccountInfo
impl RefUnwindSafe for ServiceAccountInfo
impl Send for ServiceAccountInfo
impl Sync for ServiceAccountInfo
impl Unpin for ServiceAccountInfo
impl UnwindSafe for ServiceAccountInfo
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