pub struct ColumnData {Show 29 fields
pub id: Option<String>,
pub name: String,
pub business_name: Option<String>,
pub description: Option<String>,
pub data_type: String,
pub physical_type: Option<String>,
pub physical_name: Option<String>,
pub logical_type_options: Option<LogicalTypeOptions>,
pub primary_key: bool,
pub primary_key_position: Option<i32>,
pub unique: bool,
pub nullable: bool,
pub partitioned: bool,
pub partition_key_position: Option<i32>,
pub clustered: bool,
pub classification: Option<String>,
pub critical_data_element: bool,
pub encrypted_name: Option<String>,
pub transform_source_objects: Vec<String>,
pub transform_logic: Option<String>,
pub transform_description: Option<String>,
pub examples: Vec<Value>,
pub default_value: Option<Value>,
pub relationships: Vec<PropertyRelationship>,
pub authoritative_definitions: Vec<AuthoritativeDefinition>,
pub quality: Option<Vec<HashMap<String, Value>>>,
pub enum_values: Option<Vec<String>>,
pub tags: Vec<String>,
pub custom_properties: HashMap<String, Value>,
}Expand description
Column data from import - mirrors Column struct exactly to preserve all ODCS v3.1.0 fields
Fields§
§id: Option<String>Stable technical identifier (ODCS: id)
name: StringColumn name (ODCS: name)
business_name: Option<String>Business name for the column (ODCS: businessName)
description: Option<String>Column description/documentation (ODCS: description)
data_type: StringLogical data type (ODCS: logicalType)
physical_type: Option<String>Physical database type (ODCS: physicalType)
physical_name: Option<String>Physical name in the data source (ODCS: physicalName)
logical_type_options: Option<LogicalTypeOptions>Additional type options (ODCS: logicalTypeOptions)
primary_key: boolWhether this column is part of the primary key (ODCS: primaryKey)
primary_key_position: Option<i32>Position in composite primary key, 1-based (ODCS: primaryKeyPosition)
unique: boolWhether the column contains unique values (ODCS: unique)
nullable: boolWhether the column allows NULL values (inverse of ODCS: required)
partitioned: boolWhether the column is used for partitioning (ODCS: partitioned)
partition_key_position: Option<i32>Position in partition key, 1-based (ODCS: partitionKeyPosition)
clustered: boolWhether the column is used for clustering
classification: Option<String>Data classification level (ODCS: classification)
critical_data_element: boolWhether this is a critical data element (ODCS: criticalDataElement)
encrypted_name: Option<String>Name of the encrypted version of this column (ODCS: encryptedName)
transform_source_objects: Vec<String>Source objects used in transformation (ODCS: transformSourceObjects)
transform_logic: Option<String>Transformation logic/expression (ODCS: transformLogic)
transform_description: Option<String>Human-readable transformation description (ODCS: transformDescription)
examples: Vec<Value>Example values for this column (ODCS: examples)
default_value: Option<Value>Default value for the column
relationships: Vec<PropertyRelationship>ODCS v3.1.0 relationships (property-level references)
Authoritative definitions (ODCS: authoritativeDefinitions)
quality: Option<Vec<HashMap<String, Value>>>Quality rules and checks (ODCS: quality)
enum_values: Option<Vec<String>>Enum values if this column is an enumeration type
Property-level tags (ODCS: tags)
custom_properties: HashMap<String, Value>Custom properties for format-specific metadata
Trait Implementations§
Source§impl Clone for ColumnData
impl Clone for ColumnData
Source§fn clone(&self) -> ColumnData
fn clone(&self) -> ColumnData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more