#[non_exhaustive]pub struct PardotConnectorProfileCredentials { /* private fields */ }
Expand description
The connector-specific profile credentials required when using Salesforce Pardot.
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
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 PartialEq<PardotConnectorProfileCredentials> for PardotConnectorProfileCredentials
impl PartialEq<PardotConnectorProfileCredentials> for PardotConnectorProfileCredentials
source§fn eq(&self, other: &PardotConnectorProfileCredentials) -> bool
fn eq(&self, other: &PardotConnectorProfileCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PardotConnectorProfileCredentials
Auto Trait Implementations§
impl RefUnwindSafe for PardotConnectorProfileCredentials
impl Send for PardotConnectorProfileCredentials
impl Sync for PardotConnectorProfileCredentials
impl Unpin for PardotConnectorProfileCredentials
impl UnwindSafe for PardotConnectorProfileCredentials
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