Trait TableMeta

Source
pub trait TableMeta {
    // Required methods
    fn table_name() -> &'static str;
    fn table_columns() -> &'static [&'static str];
    fn primary_key() -> Option<&'static str>;
}

Required Methods§

Source

fn table_name() -> &'static str

Source

fn table_columns() -> &'static [&'static str]

Source

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.

Implementors§