pub struct InsertRecordsFromFilesResponse
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>,
pub files: Vec<String>,
The response from the /insert/records/fromfiles endpoint.
Fields
table_name: StringValue of table_name.
type_id: StringID of the currently registered table structure type for the target table.
type_definition: StringA JSON string describing the columns of the target table.
type_label: StringThe 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: i64Number of records inserted into the target table.
count_skipped: i64Number 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.
files: Vec<String>The list of source files from which records would be inserted; only filled in when ingestion_mode is dry_run.
Trait Implementations
fn clone(&self) -> InsertRecordsFromFilesResponse
fn clone_from(&mut self, source: &Self)
source. Read more