pub struct Oauth2ClientCredentials {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub secret_manager_stored_client_secret: Option<String>,
}Expand description
OAuth2 Client Credentials.
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_id: Option<String>Required. Client ID for Salesforce OAuth2 Client Credentials.
client_secret: Option<String>Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the secret_manager_stored_client_secret field.
secret_manager_stored_client_secret: Option<String>Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the client_secret field.
Trait Implementations§
Source§impl Clone for Oauth2ClientCredentials
impl Clone for Oauth2ClientCredentials
Source§fn clone(&self) -> Oauth2ClientCredentials
fn clone(&self) -> Oauth2ClientCredentials
Returns a duplicate 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 Freeze for Oauth2ClientCredentials
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