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