SQLSchema

Trait SQLSchema 

Source
pub trait SQLSchema<'a, T, V>: ToSQL<'a, V>
where V: SQLParam + 'a,
{ const NAME: &'a str; const TYPE: T; const SQL: SQL<'a, V>; // Provided method fn sql(&self) -> SQL<'a, V> { ... } }

Required Associated Constants§

Source

const NAME: &'a str

Source

const TYPE: T

Source

const SQL: SQL<'a, V>

Provided Methods§

Source

fn sql(&self) -> SQL<'a, V>

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.

Implementors§