#[non_exhaustive]pub struct SalesforceDestinationProperties {
pub object: Option<String>,
pub id_field_names: Option<Vec<String>>,
pub error_handling_config: Option<ErrorHandlingConfig>,
pub write_operation_type: Option<WriteOperationType>,
}
Expand description
The properties that are applied when Salesforce 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.object: Option<String>
The object specified in the Salesforce flow destination.
id_field_names: Option<Vec<String>>
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
error_handling_config: Option<ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
write_operation_type: Option<WriteOperationType>
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
, then idFieldNames
is required.
Implementations
sourceimpl SalesforceDestinationProperties
impl SalesforceDestinationProperties
sourcepub fn id_field_names(&self) -> Option<&[String]>
pub fn id_field_names(&self) -> Option<&[String]>
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
sourcepub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
pub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
sourcepub fn write_operation_type(&self) -> Option<&WriteOperationType>
pub fn write_operation_type(&self) -> Option<&WriteOperationType>
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
, then idFieldNames
is required.
sourceimpl SalesforceDestinationProperties
impl SalesforceDestinationProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SalesforceDestinationProperties
Trait Implementations
sourceimpl Clone for SalesforceDestinationProperties
impl Clone for SalesforceDestinationProperties
sourcefn clone(&self) -> SalesforceDestinationProperties
fn clone(&self) -> SalesforceDestinationProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<SalesforceDestinationProperties> for SalesforceDestinationProperties
impl PartialEq<SalesforceDestinationProperties> for SalesforceDestinationProperties
sourcefn eq(&self, other: &SalesforceDestinationProperties) -> bool
fn eq(&self, other: &SalesforceDestinationProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SalesforceDestinationProperties) -> bool
fn ne(&self, other: &SalesforceDestinationProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for SalesforceDestinationProperties
Auto Trait Implementations
impl RefUnwindSafe for SalesforceDestinationProperties
impl Send for SalesforceDestinationProperties
impl Sync for SalesforceDestinationProperties
impl Unpin for SalesforceDestinationProperties
impl UnwindSafe for SalesforceDestinationProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more