Struct autopulse::db::conn::multi_connection_impl::bind_collector::BindValue
source · pub struct BindValue<'a> {
inner: Option<InnerBindValue<'a>>,
}
Fields§
§inner: Option<InnerBindValue<'a>>
Trait Implementations§
source§impl<'a, T, ST> From<(ST, &'a T)> for BindValue<'a>where
T: Any + ToSql<ST, <PgConnection as Connection>::Backend> + ToSql<ST, <SqliteConnection as Connection>::Backend> + Send + Sync + 'static,
ST: Send + SqlType<IsNull = NotNull> + 'static,
<PgConnection as Connection>::Backend: HasSqlType<ST>,
<SqliteConnection as Connection>::Backend: HasSqlType<ST>,
impl<'a, T, ST> From<(ST, &'a T)> for BindValue<'a>where
T: Any + ToSql<ST, <PgConnection as Connection>::Backend> + ToSql<ST, <SqliteConnection as Connection>::Backend> + Send + Sync + 'static,
ST: Send + SqlType<IsNull = NotNull> + 'static,
<PgConnection as Connection>::Backend: HasSqlType<ST>,
<SqliteConnection as Connection>::Backend: HasSqlType<ST>,
Auto Trait Implementations§
impl<'a> Freeze for BindValue<'a>
impl<'a> !RefUnwindSafe for BindValue<'a>
impl<'a> !Send for BindValue<'a>
impl<'a> !Sync for BindValue<'a>
impl<'a> Unpin for BindValue<'a>
impl<'a> !UnwindSafe for BindValue<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more