Struct aws_sdk_appflow::model::OAuth2CustomParameter
source · [−]#[non_exhaustive]pub struct OAuth2CustomParameter {
pub key: Option<String>,
pub is_required: bool,
pub label: Option<String>,
pub description: Option<String>,
pub is_sensitive_field: bool,
pub connector_supplied_values: Option<Vec<String>>,
pub type: Option<OAuth2CustomPropType>,
}
Expand description
Custom parameter required for OAuth 2.0 authentication.
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.key: Option<String>
The key of the custom parameter required for OAuth 2.0 authentication.
is_required: bool
Indicates whether the custom parameter for OAuth 2.0 authentication is required.
label: Option<String>
The label of the custom parameter used for OAuth 2.0 authentication.
description: Option<String>
A description about the custom parameter used for OAuth 2.0 authentication.
is_sensitive_field: bool
Indicates whether this authentication custom parameter is a sensitive field.
connector_supplied_values: Option<Vec<String>>
Contains default values for this authentication parameter that are supplied by the connector.
type: Option<OAuth2CustomPropType>
Indicates whether custom parameter is used with TokenUrl or AuthUrl.
Implementations
sourceimpl OAuth2CustomParameter
impl OAuth2CustomParameter
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The key of the custom parameter required for OAuth 2.0 authentication.
sourcepub fn is_required(&self) -> bool
pub fn is_required(&self) -> bool
Indicates whether the custom parameter for OAuth 2.0 authentication is required.
sourcepub fn label(&self) -> Option<&str>
pub fn label(&self) -> Option<&str>
The label of the custom parameter used for OAuth 2.0 authentication.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description about the custom parameter used for OAuth 2.0 authentication.
sourcepub fn is_sensitive_field(&self) -> bool
pub fn is_sensitive_field(&self) -> bool
Indicates whether this authentication custom parameter is a sensitive field.
sourcepub fn connector_supplied_values(&self) -> Option<&[String]>
pub fn connector_supplied_values(&self) -> Option<&[String]>
Contains default values for this authentication parameter that are supplied by the connector.
sourcepub fn type(&self) -> Option<&OAuth2CustomPropType>
pub fn type(&self) -> Option<&OAuth2CustomPropType>
Indicates whether custom parameter is used with TokenUrl or AuthUrl.
sourceimpl OAuth2CustomParameter
impl OAuth2CustomParameter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OAuth2CustomParameter
Trait Implementations
sourceimpl Clone for OAuth2CustomParameter
impl Clone for OAuth2CustomParameter
sourcefn clone(&self) -> OAuth2CustomParameter
fn clone(&self) -> OAuth2CustomParameter
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 Debug for OAuth2CustomParameter
impl Debug for OAuth2CustomParameter
sourceimpl PartialEq<OAuth2CustomParameter> for OAuth2CustomParameter
impl PartialEq<OAuth2CustomParameter> for OAuth2CustomParameter
sourcefn eq(&self, other: &OAuth2CustomParameter) -> bool
fn eq(&self, other: &OAuth2CustomParameter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OAuth2CustomParameter) -> bool
fn ne(&self, other: &OAuth2CustomParameter) -> bool
This method tests for !=
.
impl StructuralPartialEq for OAuth2CustomParameter
Auto Trait Implementations
impl RefUnwindSafe for OAuth2CustomParameter
impl Send for OAuth2CustomParameter
impl Sync for OAuth2CustomParameter
impl Unpin for OAuth2CustomParameter
impl UnwindSafe for OAuth2CustomParameter
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