#[non_exhaustive]pub struct CustomConnectorProfileCredentials { /* private fields */ }
Expand description
The connector-specific profile credentials that are required when using the custom connector.
Implementations
sourceimpl 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.
sourceimpl CustomConnectorProfileCredentials
impl CustomConnectorProfileCredentials
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomConnectorProfileCredentials
.
Trait Implementations
sourceimpl Clone for CustomConnectorProfileCredentials
impl Clone for CustomConnectorProfileCredentials
sourcefn clone(&self) -> CustomConnectorProfileCredentials
fn clone(&self) -> CustomConnectorProfileCredentials
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 moresourceimpl PartialEq<CustomConnectorProfileCredentials> for CustomConnectorProfileCredentials
impl PartialEq<CustomConnectorProfileCredentials> for CustomConnectorProfileCredentials
sourcefn eq(&self, other: &CustomConnectorProfileCredentials) -> bool
fn eq(&self, other: &CustomConnectorProfileCredentials) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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