#[non_exhaustive]pub struct DestinationFieldPropertiesBuilder { /* private fields */ }
Expand description
A builder for DestinationFieldProperties
.
Implementations§
source§impl DestinationFieldPropertiesBuilder
impl DestinationFieldPropertiesBuilder
sourcepub fn is_creatable(self, input: bool) -> Self
pub fn is_creatable(self, input: bool) -> Self
Specifies if the destination field can be created by the current user.
sourcepub fn set_is_creatable(self, input: Option<bool>) -> Self
pub fn set_is_creatable(self, input: Option<bool>) -> Self
Specifies if the destination field can be created by the current user.
sourcepub fn get_is_creatable(&self) -> &Option<bool>
pub fn get_is_creatable(&self) -> &Option<bool>
Specifies if the destination field can be created by the current user.
sourcepub fn is_nullable(self, input: bool) -> Self
pub fn is_nullable(self, input: bool) -> Self
Specifies if the destination field can have a null value.
sourcepub fn set_is_nullable(self, input: Option<bool>) -> Self
pub fn set_is_nullable(self, input: Option<bool>) -> Self
Specifies if the destination field can have a null value.
sourcepub fn get_is_nullable(&self) -> &Option<bool>
pub fn get_is_nullable(&self) -> &Option<bool>
Specifies if the destination field can have a null value.
sourcepub fn is_upsertable(self, input: bool) -> Self
pub fn is_upsertable(self, input: bool) -> Self
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 set_is_upsertable(self, input: Option<bool>) -> Self
pub fn set_is_upsertable(self, input: Option<bool>) -> Self
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 get_is_upsertable(&self) -> &Option<bool>
pub fn get_is_upsertable(&self) -> &Option<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, input: bool) -> Self
pub fn is_updatable(self, input: bool) -> Self
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
sourcepub fn set_is_updatable(self, input: Option<bool>) -> Self
pub fn set_is_updatable(self, input: Option<bool>) -> Self
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
sourcepub fn get_is_updatable(&self) -> &Option<bool>
pub fn get_is_updatable(&self) -> &Option<bool>
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
sourcepub fn is_defaulted_on_create(self, input: bool) -> Self
pub fn is_defaulted_on_create(self, input: bool) -> Self
Specifies whether the field can use the default value during a Create operation.
sourcepub fn set_is_defaulted_on_create(self, input: Option<bool>) -> Self
pub fn set_is_defaulted_on_create(self, input: Option<bool>) -> Self
Specifies whether the field can use the default value during a Create operation.
sourcepub fn get_is_defaulted_on_create(&self) -> &Option<bool>
pub fn get_is_defaulted_on_create(&self) -> &Option<bool>
Specifies whether the field can use the default value during a Create operation.
sourcepub fn supported_write_operations(self, input: WriteOperationType) -> Self
pub fn supported_write_operations(self, input: WriteOperationType) -> Self
Appends an item to supported_write_operations
.
To override the contents of this collection use set_supported_write_operations
.
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.
sourcepub fn set_supported_write_operations(
self,
input: Option<Vec<WriteOperationType>>
) -> Self
pub fn set_supported_write_operations( self, input: Option<Vec<WriteOperationType>> ) -> Self
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.
sourcepub fn get_supported_write_operations(&self) -> &Option<Vec<WriteOperationType>>
pub fn get_supported_write_operations(&self) -> &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.
sourcepub fn build(self) -> DestinationFieldProperties
pub fn build(self) -> DestinationFieldProperties
Consumes the builder and constructs a DestinationFieldProperties
.
Trait Implementations§
source§impl Clone for DestinationFieldPropertiesBuilder
impl Clone for DestinationFieldPropertiesBuilder
source§fn clone(&self) -> DestinationFieldPropertiesBuilder
fn clone(&self) -> DestinationFieldPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DestinationFieldPropertiesBuilder
impl Default for DestinationFieldPropertiesBuilder
source§fn default() -> DestinationFieldPropertiesBuilder
fn default() -> DestinationFieldPropertiesBuilder
source§impl PartialEq for DestinationFieldPropertiesBuilder
impl PartialEq for DestinationFieldPropertiesBuilder
source§fn eq(&self, other: &DestinationFieldPropertiesBuilder) -> bool
fn eq(&self, other: &DestinationFieldPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.