Struct aws_sdk_appflow::types::FieldTypeDetails
source · #[non_exhaustive]pub struct FieldTypeDetails {
pub field_type: String,
pub filter_operators: Vec<Operator>,
pub supported_values: Option<Vec<String>>,
pub value_regex_pattern: Option<String>,
pub supported_date_format: Option<String>,
pub field_value_range: Option<Range>,
pub field_length_range: Option<Range>,
}
Expand description
Contains details regarding the supported field type and the operators that can be applied for filtering.
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.field_type: String
The type of field, such as string, integer, date, and so on.
filter_operators: Vec<Operator>
The list of operators supported by a field.
supported_values: Option<Vec<String>>
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
value_regex_pattern: Option<String>
The regular expression pattern for the field name.
supported_date_format: Option<String>
The date format that the field supports.
field_value_range: Option<Range>
The range of values this field can hold.
field_length_range: Option<Range>
This is the allowable length range for this field's value.
Implementations§
source§impl FieldTypeDetails
impl FieldTypeDetails
sourcepub fn field_type(&self) -> &str
pub fn field_type(&self) -> &str
The type of field, such as string, integer, date, and so on.
sourcepub fn filter_operators(&self) -> &[Operator]
pub fn filter_operators(&self) -> &[Operator]
The list of operators supported by a field.
sourcepub fn supported_values(&self) -> &[String]
pub fn supported_values(&self) -> &[String]
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_values.is_none()
.
sourcepub fn value_regex_pattern(&self) -> Option<&str>
pub fn value_regex_pattern(&self) -> Option<&str>
The regular expression pattern for the field name.
sourcepub fn supported_date_format(&self) -> Option<&str>
pub fn supported_date_format(&self) -> Option<&str>
The date format that the field supports.
sourcepub fn field_value_range(&self) -> Option<&Range>
pub fn field_value_range(&self) -> Option<&Range>
The range of values this field can hold.
sourcepub fn field_length_range(&self) -> Option<&Range>
pub fn field_length_range(&self) -> Option<&Range>
This is the allowable length range for this field's value.
source§impl FieldTypeDetails
impl FieldTypeDetails
sourcepub fn builder() -> FieldTypeDetailsBuilder
pub fn builder() -> FieldTypeDetailsBuilder
Creates a new builder-style object to manufacture FieldTypeDetails
.
Trait Implementations§
source§impl Clone for FieldTypeDetails
impl Clone for FieldTypeDetails
source§fn clone(&self) -> FieldTypeDetails
fn clone(&self) -> FieldTypeDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FieldTypeDetails
impl Debug for FieldTypeDetails
source§impl PartialEq for FieldTypeDetails
impl PartialEq for FieldTypeDetails
source§fn eq(&self, other: &FieldTypeDetails) -> bool
fn eq(&self, other: &FieldTypeDetails) -> bool
self
and other
values to be equal, and is used
by ==
.