Trait toql::tree::tree_map::TreeMap[][src]

pub trait TreeMap: Mapped {
    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

Implementors