sqlite

Trait Bindable

Source
pub trait Bindable {
    // Required method
    fn bind(self, _: &mut Statement<'_>) -> Result<()>;
}
Expand description

A type suitable for binding to a prepared statement.

Required Methods§

Source

fn bind(self, _: &mut Statement<'_>) -> Result<()>

Bind to a parameter.

Implementations on Foreign Types§

Source§

impl<T> Bindable for &[T]

Source§

fn bind(self, statement: &mut Statement<'_>) -> Result<()>

Source§

impl<T, U> Bindable for &[(T, U)]

Source§

fn bind(self, statement: &mut Statement<'_>) -> Result<()>

Source§

impl<T, U> Bindable for (T, U)

Source§

fn bind(self, statement: &mut Statement<'_>) -> Result<()>

Implementors§