Struct aws_sdk_appflow::types::ConnectorEntityField
source · #[non_exhaustive]pub struct ConnectorEntityField {
pub identifier: String,
pub parent_identifier: Option<String>,
pub label: Option<String>,
pub is_primary_key: bool,
pub default_value: Option<String>,
pub is_deprecated: bool,
pub supported_field_type_details: Option<SupportedFieldTypeDetails>,
pub description: Option<String>,
pub source_properties: Option<SourceFieldProperties>,
pub destination_properties: Option<DestinationFieldProperties>,
pub custom_properties: Option<HashMap<String, String>>,
}
Expand description
Describes the data model of a connector field. For example, for an account entity, the fields would be account name, account ID, and so on.
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.identifier: String
The unique identifier of the connector field.
parent_identifier: Option<String>
The parent identifier of the connector field.
label: Option<String>
The label applied to a connector entity field.
is_primary_key: bool
Booelan value that indicates whether this field can be used as a primary key.
default_value: Option<String>
Default value that can be assigned to this field.
is_deprecated: bool
Booelan value that indicates whether this field is deprecated or not.
supported_field_type_details: Option<SupportedFieldTypeDetails>
Contains details regarding the supported FieldType
, including the corresponding filterOperators
and supportedValues
.
description: Option<String>
A description of the connector entity field.
source_properties: Option<SourceFieldProperties>
The properties that can be applied to a field when the connector is being used as a source.
destination_properties: Option<DestinationFieldProperties>
The properties applied to a field when the connector is being used as a destination.
custom_properties: Option<HashMap<String, String>>
A map that has specific properties related to the ConnectorEntityField.
Implementations§
source§impl ConnectorEntityField
impl ConnectorEntityField
sourcepub fn identifier(&self) -> &str
pub fn identifier(&self) -> &str
The unique identifier of the connector field.
sourcepub fn parent_identifier(&self) -> Option<&str>
pub fn parent_identifier(&self) -> Option<&str>
The parent identifier of the connector field.
sourcepub fn is_primary_key(&self) -> bool
pub fn is_primary_key(&self) -> bool
Booelan value that indicates whether this field can be used as a primary key.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
Default value that can be assigned to this field.
sourcepub fn is_deprecated(&self) -> bool
pub fn is_deprecated(&self) -> bool
Booelan value that indicates whether this field is deprecated or not.
sourcepub fn supported_field_type_details(&self) -> Option<&SupportedFieldTypeDetails>
pub fn supported_field_type_details(&self) -> Option<&SupportedFieldTypeDetails>
Contains details regarding the supported FieldType
, including the corresponding filterOperators
and supportedValues
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the connector entity field.
sourcepub fn source_properties(&self) -> Option<&SourceFieldProperties>
pub fn source_properties(&self) -> Option<&SourceFieldProperties>
The properties that can be applied to a field when the connector is being used as a source.
sourcepub fn destination_properties(&self) -> Option<&DestinationFieldProperties>
pub fn destination_properties(&self) -> Option<&DestinationFieldProperties>
The properties applied to a field when the connector is being used as a destination.
source§impl ConnectorEntityField
impl ConnectorEntityField
sourcepub fn builder() -> ConnectorEntityFieldBuilder
pub fn builder() -> ConnectorEntityFieldBuilder
Creates a new builder-style object to manufacture ConnectorEntityField
.
Trait Implementations§
source§impl Clone for ConnectorEntityField
impl Clone for ConnectorEntityField
source§fn clone(&self) -> ConnectorEntityField
fn clone(&self) -> ConnectorEntityField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectorEntityField
impl Debug for ConnectorEntityField
source§impl PartialEq for ConnectorEntityField
impl PartialEq for ConnectorEntityField
source§fn eq(&self, other: &ConnectorEntityField) -> bool
fn eq(&self, other: &ConnectorEntityField) -> bool
self
and other
values to be equal, and is used
by ==
.