Skip to main content
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: String

Name 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

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 more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn default() -> Self

Returns the “default value” for a type. Read more