#[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.