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) -> 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.
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<OAuth2CustomParameter> for OAuth2CustomParameter
impl PartialEq<OAuth2CustomParameter> 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 ==.