Struct google_connectors1::api::Oauth2ClientCredentials
source · pub struct Oauth2ClientCredentials {
pub client_id: Option<String>,
pub client_secret: Option<Secret>,
}
Expand description
Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_id: Option<String>
The client identifier.
client_secret: Option<Secret>
Secret version reference containing the client secret.
Trait Implementations§
source§impl Clone for Oauth2ClientCredentials
impl Clone for Oauth2ClientCredentials
source§fn clone(&self) -> Oauth2ClientCredentials
fn clone(&self) -> Oauth2ClientCredentials
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 Oauth2ClientCredentials
impl Debug for Oauth2ClientCredentials
source§impl Default for Oauth2ClientCredentials
impl Default for Oauth2ClientCredentials
source§fn default() -> Oauth2ClientCredentials
fn default() -> Oauth2ClientCredentials
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Oauth2ClientCredentials
impl<'de> Deserialize<'de> for Oauth2ClientCredentials
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 Serialize for Oauth2ClientCredentials
impl Serialize for Oauth2ClientCredentials
impl Part for Oauth2ClientCredentials
Auto Trait Implementations§
impl RefUnwindSafe for Oauth2ClientCredentials
impl Send for Oauth2ClientCredentials
impl Sync for Oauth2ClientCredentials
impl Unpin for Oauth2ClientCredentials
impl UnwindSafe for Oauth2ClientCredentials
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