Skip to main content

Structured

Trait Structured 

Source
pub trait Structured {
    // Required method
    fn get_structure() -> Structure;
}
Expand description

A trait to mark types that are structured. A structured type is a type that has a structure. The structure is a list of fields with their names and SQL types.

Required Methods§

Source

fn get_structure() -> Structure

Get the structure of the type.

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.

Implementors§