snowflake.snowpark.types.StructType¶
- class snowflake.snowpark.types.StructType(fields: Optional[List[StructField]] = None)[source]¶
Bases:
DataTypeRepresents a table schema. Contains
StructFieldfor each column.Methods
add(field[, datatype, nullable])Attributes
namesReturns the list of names of the
StructField