pub struct InsertRecordsRequest<T>
pub table_name: String,
pub data: Vec<T>,
pub options: HashMap<String, String>,
The request payload for the /insert/records endpoint, with its records as values, encoded when sent. RawInsertRecordsRequest is the form sent.
Fields
table_name: StringName of table to which the records are to be added, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
data: Vec<T>The records, encoded by the schema of the first when sent.
options: HashMap<String, String>Optional parameters.
Trait Implementations
Source
impl<T: Clone> Clone for InsertRecordsRequest<T>
Source
fn clone(&self) -> InsertRecordsRequest<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource