Struct aws_sdk_appflow::model::FieldTypeDetails
source · [−]#[non_exhaustive]pub struct FieldTypeDetails {
pub field_type: Option<String>,
pub filter_operators: Option<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: Option<String>
The type of field, such as string, integer, date, and so on.
filter_operators: Option<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
sourceimpl FieldTypeDetails
impl FieldTypeDetails
sourcepub fn field_type(&self) -> Option<&str>
pub fn field_type(&self) -> Option<&str>
The type of field, such as string, integer, date, and so on.
sourcepub fn filter_operators(&self) -> Option<&[Operator]>
pub fn filter_operators(&self) -> Option<&[Operator]>
The list of operators supported by a field.
sourcepub fn supported_values(&self) -> Option<&[String]>
pub fn supported_values(&self) -> Option<&[String]>
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
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.
sourceimpl FieldTypeDetails
impl FieldTypeDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FieldTypeDetails
Trait Implementations
sourceimpl Clone for FieldTypeDetails
impl Clone for FieldTypeDetails
sourcefn clone(&self) -> FieldTypeDetails
fn clone(&self) -> FieldTypeDetails
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 FieldTypeDetails
impl Debug for FieldTypeDetails
sourceimpl PartialEq<FieldTypeDetails> for FieldTypeDetails
impl PartialEq<FieldTypeDetails> for FieldTypeDetails
sourcefn eq(&self, other: &FieldTypeDetails) -> bool
fn eq(&self, other: &FieldTypeDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FieldTypeDetails) -> bool
fn ne(&self, other: &FieldTypeDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for FieldTypeDetails
Auto Trait Implementations
impl RefUnwindSafe for FieldTypeDetails
impl Send for FieldTypeDetails
impl Sync for FieldTypeDetails
impl Unpin for FieldTypeDetails
impl UnwindSafe for FieldTypeDetails
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