#[non_exhaustive]pub struct BatchUpsertTableRowsOutput {
pub rows: HashMap<String, UpsertRowsResult>,
pub workbook_cursor: i64,
pub failed_batch_items: Option<Vec<FailedBatchItem>>,
/* private fields */
}
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.rows: HashMap<String, UpsertRowsResult>
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
workbook_cursor: i64
The updated workbook cursor after updating or appending rows in the table.
failed_batch_items: Option<Vec<FailedBatchItem>>
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
Implementations§
source§impl BatchUpsertTableRowsOutput
impl BatchUpsertTableRowsOutput
sourcepub fn rows(&self) -> &HashMap<String, UpsertRowsResult>
pub fn rows(&self) -> &HashMap<String, UpsertRowsResult>
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
sourcepub fn workbook_cursor(&self) -> i64
pub fn workbook_cursor(&self) -> i64
The updated workbook cursor after updating or appending rows in the table.
sourcepub fn failed_batch_items(&self) -> &[FailedBatchItem]
pub fn failed_batch_items(&self) -> &[FailedBatchItem]
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_batch_items.is_none()
.
source§impl BatchUpsertTableRowsOutput
impl BatchUpsertTableRowsOutput
sourcepub fn builder() -> BatchUpsertTableRowsOutputBuilder
pub fn builder() -> BatchUpsertTableRowsOutputBuilder
Creates a new builder-style object to manufacture BatchUpsertTableRowsOutput
.
Trait Implementations§
source§impl Clone for BatchUpsertTableRowsOutput
impl Clone for BatchUpsertTableRowsOutput
source§fn clone(&self) -> BatchUpsertTableRowsOutput
fn clone(&self) -> BatchUpsertTableRowsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchUpsertTableRowsOutput
impl Debug for BatchUpsertTableRowsOutput
source§impl PartialEq for BatchUpsertTableRowsOutput
impl PartialEq for BatchUpsertTableRowsOutput
source§fn eq(&self, other: &BatchUpsertTableRowsOutput) -> bool
fn eq(&self, other: &BatchUpsertTableRowsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchUpsertTableRowsOutput
impl RequestId for BatchUpsertTableRowsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for BatchUpsertTableRowsOutput
Auto Trait Implementations§
impl Freeze for BatchUpsertTableRowsOutput
impl RefUnwindSafe for BatchUpsertTableRowsOutput
impl Send for BatchUpsertTableRowsOutput
impl Sync for BatchUpsertTableRowsOutput
impl Unpin for BatchUpsertTableRowsOutput
impl UnwindSafe for BatchUpsertTableRowsOutput
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