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 ==
.impl StructuralPartialEq for UpsertRowsResult
Auto Trait Implementations§
impl Freeze for UpsertRowsResult
impl RefUnwindSafe for UpsertRowsResult
impl Send for UpsertRowsResult
impl Sync for UpsertRowsResult
impl Unpin for UpsertRowsResult
impl UnwindSafe for UpsertRowsResult
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