pub trait ColumnDescTestExt {
// Required methods
fn new_atomic(data_type: DataType, name: &str, column_id: i32) -> Self;
fn new_struct(
name: &str,
column_id: i32,
type_name: &str,
fields: Vec<ColumnDesc>,
) -> Self;
}
Required Methods§
sourcefn new_atomic(data_type: DataType, name: &str, column_id: i32) -> Self
fn new_atomic(data_type: DataType, name: &str, column_id: i32) -> Self
Create a ColumnDesc
with the given name and type.
Note: Only used for tests.
sourcefn new_struct(
name: &str,
column_id: i32,
type_name: &str,
fields: Vec<ColumnDesc>,
) -> Self
fn new_struct( name: &str, column_id: i32, type_name: &str, fields: Vec<ColumnDesc>, ) -> Self
Create a ColumnDesc
with Struct
type.
Note: Only used for tests.
Object Safety§
This trait is not object safe.