pub trait TableBuilderwhere
Self: Sized,{
// Required methods
fn table() -> Table;
fn get_table(&self) -> Table;
fn table_name() -> String;
}
Expand description
Trait for basic creation of tables
This trait is used to define the table structure for the database. It is used to define the table name and the columns in the table.
Required Methods§
sourcefn table_name() -> String
fn table_name() -> String
Get the name of the table
Object Safety§
This trait is not object safe.