Trait TreeMap

Source
pub trait TreeMap: Mapped {
    // Required method
    fn map(registry: &mut TableMapperRegistry) -> Result<(), ToqlError>;
}
Expand description

The trait maps the implementing struct and its dependencies. It will insert the struct in a TableMapper and register the mapper in the TableMapperRegistry.

Trait is implemented by the Toql derive for structs that can map.

Required Methods§

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§