pub trait TableMeta {
// Required methods
fn table_name() -> &'static str;
fn table_columns() -> &'static [&'static str];
fn primary_key() -> Option<&'static str>;
}
Required Methods§
fn table_name() -> &'static str
fn table_columns() -> &'static [&'static str]
fn primary_key() -> Option<&'static str>
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.