pub struct TableInBatchWriteRowRequest {
pub table_name: String,
pub rows: Vec<RowInBatchWriteRowRequest>,
}
Fields§
§table_name: String
§rows: Vec<RowInBatchWriteRowRequest>
Implementations§
Source§impl TableInBatchWriteRowRequest
impl TableInBatchWriteRowRequest
pub fn new(table_name: &str) -> Self
Sourcepub fn table_name(self, table_name: &str) -> Self
pub fn table_name(self, table_name: &str) -> Self
设置表名
Sourcepub fn row(self, row: RowInBatchWriteRowRequest) -> Self
pub fn row(self, row: RowInBatchWriteRowRequest) -> Self
添加一个要写入的行
Sourcepub fn rows(
self,
rows: impl IntoIterator<Item = RowInBatchWriteRowRequest>,
) -> Self
pub fn rows( self, rows: impl IntoIterator<Item = RowInBatchWriteRowRequest>, ) -> Self
设置要写入的行
Trait Implementations§
Source§impl Clone for TableInBatchWriteRowRequest
impl Clone for TableInBatchWriteRowRequest
Source§fn clone(&self) -> TableInBatchWriteRowRequest
fn clone(&self) -> TableInBatchWriteRowRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableInBatchWriteRowRequest
impl Debug for TableInBatchWriteRowRequest
Source§impl Default for TableInBatchWriteRowRequest
impl Default for TableInBatchWriteRowRequest
Source§fn default() -> TableInBatchWriteRowRequest
fn default() -> TableInBatchWriteRowRequest
Returns the “default value” for a type. Read more
Source§impl From<TableInBatchWriteRowRequest> for TableInBatchWriteRowRequest
impl From<TableInBatchWriteRowRequest> for TableInBatchWriteRowRequest
Source§fn from(value: TableInBatchWriteRowRequest) -> Self
fn from(value: TableInBatchWriteRowRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TableInBatchWriteRowRequest
impl RefUnwindSafe for TableInBatchWriteRowRequest
impl Send for TableInBatchWriteRowRequest
impl Sync for TableInBatchWriteRowRequest
impl Unpin for TableInBatchWriteRowRequest
impl UnwindSafe for TableInBatchWriteRowRequest
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
Mutably borrows from an owned value. Read more