Trait arrow_udf::types::StructType
source · pub trait StructType {
// Required methods
fn fields() -> Fields;
fn append_to(self, builder: &mut StructBuilder);
fn append_null(builder: &mut StructBuilder);
}Expand description
A trait for user-defined struct types.
This trait can be automatically derived with #[derive(StructType)].
Required Methods§
sourcefn append_to(self, builder: &mut StructBuilder)
fn append_to(self, builder: &mut StructBuilder)
Appends the struct value to the builder.
sourcefn append_null(builder: &mut StructBuilder)
fn append_null(builder: &mut StructBuilder)
Appends a null value to the builder.
Object Safety§
This trait is not object safe.