Trait typed_sql::types::bind::Binding [−][src]
pub trait Binding { type Bindings; fn bindings(binder: &mut Binder) -> Self::Bindings; fn write_types(sql: &mut String); fn write_values(&self, sql: &mut String); fn prepare<F, S>(name: &str, f: F) -> Prepare<'_, Self, S>
where
Self: Sized,
F: FnOnce(Self::Bindings) -> S,
S: ToSql, { ... } }
Associated Types
Required methods
fn bindings(binder: &mut Binder) -> Self::Bindings
[src]
fn bindings(binder: &mut Binder) -> Self::Bindings
[src]fn write_types(sql: &mut String)
[src]
fn write_types(sql: &mut String)
[src]fn write_values(&self, sql: &mut String)
[src]
fn write_values(&self, sql: &mut String)
[src]