Struct google_datamigration1::api::ColumnEntity
source · pub struct ColumnEntity {Show 18 fields
pub array: Option<bool>,
pub array_length: Option<i32>,
pub auto_generated: Option<bool>,
pub charset: Option<String>,
pub collation: Option<String>,
pub comment: Option<String>,
pub custom_features: Option<HashMap<String, Value>>,
pub data_type: Option<String>,
pub default_value: Option<String>,
pub fractional_seconds_precision: Option<i32>,
pub length: Option<i64>,
pub name: Option<String>,
pub nullable: Option<bool>,
pub ordinal_position: Option<i32>,
pub precision: Option<i32>,
pub scale: Option<i32>,
pub set_values: Option<Vec<String>>,
pub udt: Option<bool>,
}Expand description
Column is not used as an independent entity, it is retrieved as part of a Table entity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§array: Option<bool>Is the column of array type.
array_length: Option<i32>If the column is array, of which length.
auto_generated: Option<bool>Is the column auto-generated/identity.
charset: Option<String>Charset override - instead of table level charset.
collation: Option<String>Collation override - instead of table level collation.
comment: Option<String>Comment associated with the column.
custom_features: Option<HashMap<String, Value>>Custom engine specific features.
data_type: Option<String>Column data type.
default_value: Option<String>Default value of the column.
fractional_seconds_precision: Option<i32>Column fractional second precision - used for timestamp based datatypes.
length: Option<i64>Column length - e.g. varchar (50).
name: Option<String>Column name.
nullable: Option<bool>Is the column nullable.
ordinal_position: Option<i32>Column order in the table.
precision: Option<i32>Column precision - when relevant.
scale: Option<i32>Column scale - when relevant.
set_values: Option<Vec<String>>Specifies the list of values allowed in the column. Only used for set data type.
udt: Option<bool>Is the column a UDT.
Trait Implementations§
source§impl Clone for ColumnEntity
impl Clone for ColumnEntity
source§fn clone(&self) -> ColumnEntity
fn clone(&self) -> ColumnEntity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more