pub trait RowORM: TryFrom<Row> + Clone {
// Required methods
fn field_names() -> Vec<&'static str>;
fn query_field_names() -> Vec<&'static str>;
fn insert_field_names() -> Vec<&'static str>;
fn to_values(&self) -> Vec<Value>;
}
Required Methods§
fn field_names() -> Vec<&'static str>
fn query_field_names() -> Vec<&'static str>
fn insert_field_names() -> Vec<&'static str>
fn to_values(&self) -> Vec<Value>
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.