#[non_exhaustive]pub struct BatchCreateTableRowsOutput {
pub workbook_cursor: i64,
pub created_rows: HashMap<String, String>,
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.workbook_cursor: i64
The updated workbook cursor after adding the new rows at the end of the table.
created_rows: HashMap<String, String>
The map of batch item id to the row id that was created for that item.
failed_batch_items: Option<Vec<FailedBatchItem>>
The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
Implementations§
source§impl BatchCreateTableRowsOutput
impl BatchCreateTableRowsOutput
sourcepub fn workbook_cursor(&self) -> i64
pub fn workbook_cursor(&self) -> i64
The updated workbook cursor after adding the new rows at the end of the table.
sourcepub fn created_rows(&self) -> &HashMap<String, String>
pub fn created_rows(&self) -> &HashMap<String, String>
The map of batch item id to the row id that was created for that item.
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 added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
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 BatchCreateTableRowsOutput
impl BatchCreateTableRowsOutput
sourcepub fn builder() -> BatchCreateTableRowsOutputBuilder
pub fn builder() -> BatchCreateTableRowsOutputBuilder
Creates a new builder-style object to manufacture BatchCreateTableRowsOutput
.
Trait Implementations§
source§impl Clone for BatchCreateTableRowsOutput
impl Clone for BatchCreateTableRowsOutput
source§fn clone(&self) -> BatchCreateTableRowsOutput
fn clone(&self) -> BatchCreateTableRowsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchCreateTableRowsOutput
impl Debug for BatchCreateTableRowsOutput
source§impl PartialEq for BatchCreateTableRowsOutput
impl PartialEq for BatchCreateTableRowsOutput
source§fn eq(&self, other: &BatchCreateTableRowsOutput) -> bool
fn eq(&self, other: &BatchCreateTableRowsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchCreateTableRowsOutput
impl RequestId for BatchCreateTableRowsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.