Trait sqlite::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§