Skip to main content

StructMeta

Trait StructMeta 

Source
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§

Source

fn child_fields() -> Vec<Field>

Child fields (names, data types, nullability) for this struct.

Source

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".

Implementors§