#[non_exhaustive]pub struct CustomConnectorProfileCredentials { /* private fields */ }
Expand description
The connector-specific profile credentials that are required when using the custom connector.
Implementations§
source§impl CustomConnectorProfileCredentials
impl CustomConnectorProfileCredentials
sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
The authentication type that the custom connector uses for authenticating while creating a connector profile.
sourcepub fn basic(&self) -> Option<&BasicAuthCredentials>
pub fn basic(&self) -> Option<&BasicAuthCredentials>
The basic credentials that are required for the authentication of the user.
sourcepub fn oauth2(&self) -> Option<&OAuth2Credentials>
pub fn oauth2(&self) -> Option<&OAuth2Credentials>
The OAuth 2.0 credentials required for the authentication of the user.
sourcepub fn api_key(&self) -> Option<&ApiKeyCredentials>
pub fn api_key(&self) -> Option<&ApiKeyCredentials>
The API keys required for the authentication of the user.
sourcepub fn custom(&self) -> Option<&CustomAuthCredentials>
pub fn custom(&self) -> Option<&CustomAuthCredentials>
If the connector uses the custom authentication mechanism, this holds the required credentials.
source§impl CustomConnectorProfileCredentials
impl CustomConnectorProfileCredentials
sourcepub fn builder() -> CustomConnectorProfileCredentialsBuilder
pub fn builder() -> CustomConnectorProfileCredentialsBuilder
Creates a new builder-style object to manufacture CustomConnectorProfileCredentials
.
Trait Implementations§
source§impl Clone for CustomConnectorProfileCredentials
impl Clone for CustomConnectorProfileCredentials
source§fn clone(&self) -> CustomConnectorProfileCredentials
fn clone(&self) -> CustomConnectorProfileCredentials
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<CustomConnectorProfileCredentials> for CustomConnectorProfileCredentials
impl PartialEq<CustomConnectorProfileCredentials> for CustomConnectorProfileCredentials
source§fn eq(&self, other: &CustomConnectorProfileCredentials) -> bool
fn eq(&self, other: &CustomConnectorProfileCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomConnectorProfileCredentials
Auto Trait Implementations§
impl RefUnwindSafe for CustomConnectorProfileCredentials
impl Send for CustomConnectorProfileCredentials
impl Sync for CustomConnectorProfileCredentials
impl Unpin for CustomConnectorProfileCredentials
impl UnwindSafe for CustomConnectorProfileCredentials
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