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: boolSpecifies if the destination field can be created by the current user.
is_nullable: boolSpecifies if the destination field can have a null value.
is_upsertable: boolSpecifies 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: boolSpecifies whether the field can be updated during an UPDATE or UPSERT write operation.
is_defaulted_on_create: boolSpecifies 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 ==.impl StructuralPartialEq for DestinationFieldProperties
Auto Trait Implementations§
impl Freeze for DestinationFieldProperties
impl RefUnwindSafe for DestinationFieldProperties
impl Send for DestinationFieldProperties
impl Sync for DestinationFieldProperties
impl Unpin for DestinationFieldProperties
impl UnwindSafe for DestinationFieldProperties
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more