#[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 ==
.impl StructuralPartialEq for DestinationFieldPropertiesBuilder
Auto Trait Implementations§
impl Freeze for DestinationFieldPropertiesBuilder
impl RefUnwindSafe for DestinationFieldPropertiesBuilder
impl Send for DestinationFieldPropertiesBuilder
impl Sync for DestinationFieldPropertiesBuilder
impl Unpin for DestinationFieldPropertiesBuilder
impl UnwindSafe for DestinationFieldPropertiesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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