pub trait Mapped {
    fn table_name() -> String;
    fn table_alias() -> String;
    fn type_name() -> String;
    fn map(mapper: &mut TableMapper) -> Result<()>;
}
Expand description

This trait is implemented for every Toql derived struct. See documentation on TableMapper to see how it is used.

Required Methods

Implementors