Struct aws_sdk_appflow::types::DestinationFieldProperties
source · #[non_exhaustive]pub struct DestinationFieldProperties {
pub is_creatable: bool,
pub is_nullable: bool,
pub is_upsertable: bool,
pub is_updatable: bool,
pub is_defaulted_on_create: bool,
pub supported_write_operations: Option<Vec<WriteOperationType>>,
}
Expand description
The properties that can be applied to a field when connector is being used as a destination.
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.is_creatable: bool
Specifies if the destination field can be created by the current user.
is_nullable: bool
Specifies if the destination field can have a null value.
is_upsertable: bool
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
is_updatable: bool
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
is_defaulted_on_create: bool
Specifies whether the field can use the default value during a Create operation.
supported_write_operations: Option<Vec<WriteOperationType>>
A list of supported write operations. For each write operation listed, this field can be used in idFieldNames
when that write operation is present as a destination option.
Implementations§
source§impl DestinationFieldProperties
impl DestinationFieldProperties
sourcepub fn is_creatable(&self) -> bool
pub fn is_creatable(&self) -> bool
Specifies if the destination field can be created by the current user.
sourcepub fn is_nullable(&self) -> bool
pub fn is_nullable(&self) -> bool
Specifies if the destination field can have a null value.
sourcepub fn is_upsertable(&self) -> bool
pub fn is_upsertable(&self) -> bool
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
sourcepub fn is_updatable(&self) -> bool
pub fn is_updatable(&self) -> bool
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
sourcepub fn is_defaulted_on_create(&self) -> bool
pub fn is_defaulted_on_create(&self) -> bool
Specifies whether the field can use the default value during a Create operation.
sourcepub fn supported_write_operations(&self) -> &[WriteOperationType]
pub fn supported_write_operations(&self) -> &[WriteOperationType]
A list of supported write operations. For each write operation listed, this field can be used in idFieldNames
when that write operation is present as a destination option.
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_write_operations.is_none()
.
source§impl DestinationFieldProperties
impl DestinationFieldProperties
sourcepub fn builder() -> DestinationFieldPropertiesBuilder
pub fn builder() -> DestinationFieldPropertiesBuilder
Creates a new builder-style object to manufacture DestinationFieldProperties
.
Trait Implementations§
source§impl Clone for DestinationFieldProperties
impl Clone for DestinationFieldProperties
source§fn clone(&self) -> DestinationFieldProperties
fn clone(&self) -> DestinationFieldProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationFieldProperties
impl Debug for DestinationFieldProperties
source§impl PartialEq for DestinationFieldProperties
impl PartialEq for DestinationFieldProperties
source§fn eq(&self, other: &DestinationFieldProperties) -> bool
fn eq(&self, other: &DestinationFieldProperties) -> bool
self
and other
values to be equal, and is used
by ==
.