#[non_exhaustive]pub struct MarketoConnectorProfileCredentials {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub access_token: Option<String>,
pub o_auth_request: Option<ConnectorOAuthRequest>,
}
Expand description
The connector-specific profile credentials required by Marketo.
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.client_id: Option<String>
The identifier for the desired client.
client_secret: Option<String>
The client secret used by the OAuth client to authenticate to the authorization server.
access_token: Option<String>
The credentials used to access protected Marketo resources.
o_auth_request: Option<ConnectorOAuthRequest>
The OAuth requirement needed to request security tokens from the connector endpoint.
Implementations
sourceimpl MarketoConnectorProfileCredentials
impl MarketoConnectorProfileCredentials
sourcepub fn client_secret(&self) -> Option<&str>
pub fn client_secret(&self) -> Option<&str>
The client secret used by the OAuth client to authenticate to the authorization server.
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
The credentials used to access protected Marketo resources.
sourcepub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
pub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
The OAuth requirement needed to request security tokens from the connector endpoint.
sourceimpl MarketoConnectorProfileCredentials
impl MarketoConnectorProfileCredentials
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MarketoConnectorProfileCredentials
Trait Implementations
sourceimpl Clone for MarketoConnectorProfileCredentials
impl Clone for MarketoConnectorProfileCredentials
sourcefn clone(&self) -> MarketoConnectorProfileCredentials
fn clone(&self) -> MarketoConnectorProfileCredentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<MarketoConnectorProfileCredentials> for MarketoConnectorProfileCredentials
impl PartialEq<MarketoConnectorProfileCredentials> for MarketoConnectorProfileCredentials
sourcefn eq(&self, other: &MarketoConnectorProfileCredentials) -> bool
fn eq(&self, other: &MarketoConnectorProfileCredentials) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MarketoConnectorProfileCredentials) -> bool
fn ne(&self, other: &MarketoConnectorProfileCredentials) -> bool
This method tests for !=
.
impl StructuralPartialEq for MarketoConnectorProfileCredentials
Auto Trait Implementations
impl RefUnwindSafe for MarketoConnectorProfileCredentials
impl Send for MarketoConnectorProfileCredentials
impl Sync for MarketoConnectorProfileCredentials
impl Unpin for MarketoConnectorProfileCredentials
impl UnwindSafe for MarketoConnectorProfileCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more