pub trait SqlTable {
// Required methods
fn name() -> &'static str;
fn fields() -> Vec<&'static str>;
fn sql_columns() -> Vec<&'static str>;
}
Required Methods§
fn name() -> &'static str
fn fields() -> Vec<&'static str>
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.