Struct tame_oauth::gcp::end_user::EndUserCredentialsInfo
source · pub struct EndUserCredentialsInfo {
pub client_id: String,
pub client_secret: String,
pub refresh_token: String,
pub client_type: String,
}
Expand description
Provides tokens using default application credentials
Fields§
§client_id: String
The OAuth2 client_id
client_secret: String
The OAuth2 client_secret
refresh_token: String
The OAuth2 refresh_token
client_type: String
The client type (the value must be authorized_user)
Implementations§
Trait Implementations§
source§impl Clone for EndUserCredentialsInfo
impl Clone for EndUserCredentialsInfo
source§fn clone(&self) -> EndUserCredentialsInfo
fn clone(&self) -> EndUserCredentialsInfo
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 EndUserCredentialsInfo
impl Debug for EndUserCredentialsInfo
source§impl<'de> Deserialize<'de> for EndUserCredentialsInfo
impl<'de> Deserialize<'de> for EndUserCredentialsInfo
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 EndUserCredentialsInfo
impl RefUnwindSafe for EndUserCredentialsInfo
impl Send for EndUserCredentialsInfo
impl Sync for EndUserCredentialsInfo
impl Unpin for EndUserCredentialsInfo
impl UnwindSafe for EndUserCredentialsInfo
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