Create a STRUCT data type
A map of field name -> field data type
Compare this DataType with another DataType for equality
The DataType to compare with
true if the types are equal, false otherwise
Serialize a value for storage based on this DataType
The value to serialize
The serialized value
Get the SQL string representation based on the dialect
DuckDB: native STRUCT(field TYPE, ...) syntax
Other dialects: falls back to JSON or TEXT
Optionaldialect: stringGet the struct's fields
Base class for all data types