#[non_exhaustive]pub struct CustomConnectorProfileProperties {
pub profile_properties: Option<HashMap<String, String>>,
pub o_auth2_properties: Option<OAuth2Properties>,
}
Expand description
The profile properties required by the custom connector.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.profile_properties: Option<HashMap<String, String>>
A map of properties that are required to create a profile for the custom connector.
o_auth2_properties: Option<OAuth2Properties>
The OAuth 2.0 properties required for OAuth 2.0 authentication.
Implementations§
source§impl CustomConnectorProfileProperties
impl CustomConnectorProfileProperties
sourcepub fn profile_properties(&self) -> Option<&HashMap<String, String>>
pub fn profile_properties(&self) -> Option<&HashMap<String, String>>
A map of properties that are required to create a profile for the custom connector.
sourcepub fn o_auth2_properties(&self) -> Option<&OAuth2Properties>
pub fn o_auth2_properties(&self) -> Option<&OAuth2Properties>
The OAuth 2.0 properties required for OAuth 2.0 authentication.
source§impl CustomConnectorProfileProperties
impl CustomConnectorProfileProperties
sourcepub fn builder() -> CustomConnectorProfilePropertiesBuilder
pub fn builder() -> CustomConnectorProfilePropertiesBuilder
Creates a new builder-style object to manufacture CustomConnectorProfileProperties
.
Trait Implementations§
source§impl Clone for CustomConnectorProfileProperties
impl Clone for CustomConnectorProfileProperties
source§fn clone(&self) -> CustomConnectorProfileProperties
fn clone(&self) -> CustomConnectorProfileProperties
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 for CustomConnectorProfileProperties
impl PartialEq for CustomConnectorProfileProperties
source§fn eq(&self, other: &CustomConnectorProfileProperties) -> bool
fn eq(&self, other: &CustomConnectorProfileProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomConnectorProfileProperties
Auto Trait Implementations§
impl RefUnwindSafe for CustomConnectorProfileProperties
impl Send for CustomConnectorProfileProperties
impl Sync for CustomConnectorProfileProperties
impl Unpin for CustomConnectorProfileProperties
impl UnwindSafe for CustomConnectorProfileProperties
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.