pub trait StructMeta: Record {
// Required methods
fn child_fields() -> Vec<Field>;
fn new_struct_builder(capacity: usize) -> StructBuilder;
}
Expand description
Metadata and builder utilities for nested Struct fields.
Required Methods§
Sourcefn child_fields() -> Vec<Field>
fn child_fields() -> Vec<Field>
Child fields (names, data types, nullability) for this struct.
Sourcefn new_struct_builder(capacity: usize) -> StructBuilder
fn new_struct_builder(capacity: usize) -> StructBuilder
Construct a StructBuilder
with appropriate child builders for this struct.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.