pub trait SQLModel<'a, V: SQLParam>: ToSQL<'a, V> {
// Required methods
fn columns(&self) -> Cow<'static, [ColumnRef]>;
fn values(&self) -> SQL<'a, V>;
}Expand description
A table’s select, insert, update or partial model, generated by the table macros.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".