pub trait OutputSchema {
// Required method
fn fields() -> &'static [OutputField];
}Expand description
Trait for manually declared output schemas.
Required Methods§
Sourcefn fields() -> &'static [OutputField]
fn fields() -> &'static [OutputField]
Returns the schema’s compact field descriptors.
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.