pub trait ToQuery {
// Required methods
fn quote(&self) -> &'static [u8] ⓘ;
fn placeholder(&self, pos: usize) -> Cow<'static, str>;
fn emit_column_spec(
&self,
column: &Column,
buf: &mut dyn Write,
) -> Result<()>;
// Provided methods
fn placeholder_supports_cast(&self) -> bool { ... }
fn drop_index_requires_table(&self) -> bool { ... }
}