Trait geekorm_core::TableBuilder

source ·
pub trait TableBuilder
where Self: Sized,
{ // Required methods fn table() -> Table; fn get_table(&self) -> Table; fn table_name() -> String; }
Expand description

Trait for creating tables

Required Methods§

source

fn table() -> Table

Get the table struct

source

fn get_table(&self) -> Table

Get the table struct for the current instance

source

fn table_name() -> String

Get the name of the table

Object Safety§

This trait is not object safe.

Implementors§