pub struct AlterTableColumnsResponse
pub table_name: String,
pub type_id: String,
pub type_definition: String,
pub properties: HashMap<String, Vec<String>>,
pub label: String,
pub column_alterations: Vec<HashMap<String, String>>,
pub info: HashMap<String, String>,
The response from the /alter/table/columns endpoint.
Fields
table_name: StringTable on which the operation was performed.
type_id: StringReturn the type_id (when changing a table, a new type may be created).
type_definition: StringReturn the type_definition (when changing a table, a new type may be created).
properties: HashMap<String, Vec<String>>Return the type properties (when changing a table, a new type may be created).
label: StringReturn the type label (when changing a table, a new type may be created).
column_alterations: Vec<HashMap<String, String>>List of alter table add/delete/change column requests - all for the same table. Each request is a map that includes ‘column_name’, ‘action’ and the options specific for the action. Note that the same options as in alter table requests but in the same map as the column name and the action. For example: [‘column_name’:‘col_1’,‘action’:‘change_column’,‘rename_column’:‘col_2’,‘column_name’:‘col_1’,‘action’:‘add_column’, ‘type’:‘int’,‘default_value’:‘1’].
info: HashMap<String, String>Additional information.
Trait Implementations
impl Clone for AlterTableColumnsResponse
fn clone(&self) -> AlterTableColumnsResponse
fn clone_from(&mut self, source: &Self)
source. Read more