Struct aws_sdk_appflow::types::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: boolIndicates 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: boolIndicates 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§
source§impl 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) -> &[String]
pub fn connector_supplied_values(&self) -> &[String]
Contains default values for this authentication parameter that are supplied by the connector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .connector_supplied_values.is_none().
sourcepub fn type(&self) -> Option<&OAuth2CustomPropType>
pub fn type(&self) -> Option<&OAuth2CustomPropType>
Indicates whether custom parameter is used with TokenUrl or AuthUrl.
source§impl OAuth2CustomParameter
impl OAuth2CustomParameter
sourcepub fn builder() -> OAuth2CustomParameterBuilder
pub fn builder() -> OAuth2CustomParameterBuilder
Creates a new builder-style object to manufacture OAuth2CustomParameter.
Trait Implementations§
source§impl Clone for OAuth2CustomParameter
impl Clone for OAuth2CustomParameter
source§fn clone(&self) -> OAuth2CustomParameter
fn clone(&self) -> OAuth2CustomParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OAuth2CustomParameter
impl Debug for OAuth2CustomParameter
source§impl PartialEq for OAuth2CustomParameter
impl PartialEq for OAuth2CustomParameter
source§fn eq(&self, other: &OAuth2CustomParameter) -> bool
fn eq(&self, other: &OAuth2CustomParameter) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OAuth2CustomParameter
Auto Trait Implementations§
impl Freeze for OAuth2CustomParameter
impl RefUnwindSafe for OAuth2CustomParameter
impl Send for OAuth2CustomParameter
impl Sync for OAuth2CustomParameter
impl Unpin for OAuth2CustomParameter
impl UnwindSafe for OAuth2CustomParameter
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more