#[non_exhaustive]pub struct PardotConnectorProfileCredentials {
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub o_auth_request: Option<ConnectorOAuthRequest>,
pub client_credentials_arn: Option<String>,
}Expand description
The connector-specific profile credentials required when using Salesforce Pardot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.access_token: Option<String>The credentials used to access protected Salesforce Pardot resources.
refresh_token: Option<String>The credentials used to acquire new access tokens.
o_auth_request: Option<ConnectorOAuthRequest>Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
client_credentials_arn: Option<String>The secret manager ARN, which contains the client ID and client secret of the connected app.
Implementations§
source§impl PardotConnectorProfileCredentials
impl PardotConnectorProfileCredentials
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
The credentials used to access protected Salesforce Pardot resources.
sourcepub fn refresh_token(&self) -> Option<&str>
pub fn refresh_token(&self) -> Option<&str>
The credentials used to acquire new access tokens.
sourcepub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
pub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
sourcepub fn client_credentials_arn(&self) -> Option<&str>
pub fn client_credentials_arn(&self) -> Option<&str>
The secret manager ARN, which contains the client ID and client secret of the connected app.
source§impl PardotConnectorProfileCredentials
impl PardotConnectorProfileCredentials
sourcepub fn builder() -> PardotConnectorProfileCredentialsBuilder
pub fn builder() -> PardotConnectorProfileCredentialsBuilder
Creates a new builder-style object to manufacture PardotConnectorProfileCredentials.
Trait Implementations§
source§impl Clone for PardotConnectorProfileCredentials
impl Clone for PardotConnectorProfileCredentials
source§fn clone(&self) -> PardotConnectorProfileCredentials
fn clone(&self) -> PardotConnectorProfileCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PardotConnectorProfileCredentials
impl PartialEq for PardotConnectorProfileCredentials
source§fn eq(&self, other: &PardotConnectorProfileCredentials) -> bool
fn eq(&self, other: &PardotConnectorProfileCredentials) -> bool
self and other values to be equal, and is used
by ==.