Struct aws_sdk_honeycode::types::CreateRowData
source · #[non_exhaustive]pub struct CreateRowData {
pub batch_item_id: String,
pub cells_to_create: HashMap<String, CellInput>,
}
Expand description
Data needed to create a single row in a table as part of the BatchCreateTableRows 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.batch_item_id: String
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
cells_to_create: HashMap<String, CellInput>
A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
Implementations§
source§impl CreateRowData
impl CreateRowData
sourcepub fn batch_item_id(&self) -> &str
pub fn batch_item_id(&self) -> &str
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
sourcepub fn cells_to_create(&self) -> &HashMap<String, CellInput>
pub fn cells_to_create(&self) -> &HashMap<String, CellInput>
A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
source§impl CreateRowData
impl CreateRowData
sourcepub fn builder() -> CreateRowDataBuilder
pub fn builder() -> CreateRowDataBuilder
Creates a new builder-style object to manufacture CreateRowData
.
Trait Implementations§
source§impl Clone for CreateRowData
impl Clone for CreateRowData
source§fn clone(&self) -> CreateRowData
fn clone(&self) -> CreateRowData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRowData
impl Debug for CreateRowData
source§impl PartialEq for CreateRowData
impl PartialEq for CreateRowData
source§fn eq(&self, other: &CreateRowData) -> bool
fn eq(&self, other: &CreateRowData) -> bool
self
and other
values to be equal, and is used
by ==
.