Struct aws_sdk_honeycode::types::UpsertRowsResult
source · #[non_exhaustive]pub struct UpsertRowsResult {
pub row_ids: Vec<String>,
pub upsert_action: UpsertAction,
}
Expand description
An object that represents the result of a single upsert row request.
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.row_ids: Vec<String>
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
upsert_action: UpsertAction
The result of the upsert action.
Implementations§
source§impl UpsertRowsResult
impl UpsertRowsResult
sourcepub fn row_ids(&self) -> &[String]
pub fn row_ids(&self) -> &[String]
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
sourcepub fn upsert_action(&self) -> &UpsertAction
pub fn upsert_action(&self) -> &UpsertAction
The result of the upsert action.
source§impl UpsertRowsResult
impl UpsertRowsResult
sourcepub fn builder() -> UpsertRowsResultBuilder
pub fn builder() -> UpsertRowsResultBuilder
Creates a new builder-style object to manufacture UpsertRowsResult
.
Trait Implementations§
source§impl Clone for UpsertRowsResult
impl Clone for UpsertRowsResult
source§fn clone(&self) -> UpsertRowsResult
fn clone(&self) -> UpsertRowsResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpsertRowsResult
impl Debug for UpsertRowsResult
source§impl PartialEq for UpsertRowsResult
impl PartialEq for UpsertRowsResult
source§fn eq(&self, other: &UpsertRowsResult) -> bool
fn eq(&self, other: &UpsertRowsResult) -> bool
self
and other
values to be equal, and is used
by ==
.