Skip to main content
pub struct InsertRecordsFromQueryResponse 
    pub table_name: String,
    pub type_id: String,
    pub type_definition: String,
    pub type_label: String,
    pub type_properties: HashMap<String, Vec<String>>,
    pub count_inserted: i64,
    pub count_skipped: i64,
    pub count_updated: i64,
    pub info: HashMap<String, String>,

The response from the /insert/records/fromquery endpoint.

Fields

table_name: String

Value of table_name.

type_id: String

ID of the currently registered table structure type for the target table.

type_definition: String

A JSON string describing the columns of the target table.

type_label: String

The user-defined description associated with the target table’s structure.

type_properties: HashMap<String, Vec<String>>

A mapping of each target table column name to an array of column properties associated with that column.

count_inserted: i64

Number of records inserted into the target table.

count_skipped: i64

Number of records skipped, when not running in abort error handling mode.

count_updated: i64

[Not yet implemented] Number of records updated within the target table.

info: HashMap<String, String>

Additional information.

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 deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more