Struct diesel::sqlite::SqliteBindValue
source · pub struct SqliteBindValue<'a> { /* private fields */ }
Available on crate feature
sqlite
only.Expand description
This type represents a value bound to an sqlite prepared statement
It can be constructed via the various From<T>
implementations
Trait Implementations§
source§impl<'a> Debug for SqliteBindValue<'a>
impl<'a> Debug for SqliteBindValue<'a>
source§impl<'a> From<&'a [u8]> for SqliteBindValue<'a>
impl<'a> From<&'a [u8]> for SqliteBindValue<'a>
source§impl<'a> From<&'a str> for SqliteBindValue<'a>
impl<'a> From<&'a str> for SqliteBindValue<'a>
source§impl<'a, T> From<Option<T>> for SqliteBindValue<'a>where
T: Into<SqliteBindValue<'a>>,
impl<'a, T> From<Option<T>> for SqliteBindValue<'a>where T: Into<SqliteBindValue<'a>>,
source§impl<'a> From<String> for SqliteBindValue<'a>
impl<'a> From<String> for SqliteBindValue<'a>
source§impl<'a> From<f64> for SqliteBindValue<'a>
impl<'a> From<f64> for SqliteBindValue<'a>
source§impl<'a> From<i32> for SqliteBindValue<'a>
impl<'a> From<i32> for SqliteBindValue<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SqliteBindValue<'a>
impl<'a> Send for SqliteBindValue<'a>
impl<'a> Sync for SqliteBindValue<'a>
impl<'a> Unpin for SqliteBindValue<'a>
impl<'a> UnwindSafe for SqliteBindValue<'a>
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more