SqlTable

Trait SqlTable 

Source
pub trait SqlTable {
    // Required methods
    fn name() -> &'static str;
    fn fields() -> Vec<&'static str>;
    fn sql_columns() -> Vec<&'static str>;
}

Required Methods§

Source

fn name() -> &'static str

Source

fn fields() -> Vec<&'static str>

Source

fn sql_columns() -> Vec<&'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§