pub trait SQLSchema<'a, T, V>: ToSQL<'a, V>where
V: SQLParam + 'a,{
const NAME: &'static str;
const TYPE: T;
const SQL: &'static str;
}Expand description
A schema item (table, column, index, view, enum) with a name and its
CREATE SQL.
Generated by the schema macros. 'a is the lifetime of borrowed
parameter values in the SQL it renders.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".