Struct diesel::r2d2::NopConnectionCustomizer
source · pub struct NopConnectionCustomizer;
Expand description
A CustomizeConnection
which does nothing.
Trait Implementations§
source§impl Clone for NopConnectionCustomizer
impl Clone for NopConnectionCustomizer
source§fn clone(&self) -> NopConnectionCustomizer
fn clone(&self) -> NopConnectionCustomizer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizer
impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizer
source§impl Debug for NopConnectionCustomizer
impl Debug for NopConnectionCustomizer
impl Copy for NopConnectionCustomizer
Auto Trait Implementations§
impl RefUnwindSafe for NopConnectionCustomizer
impl Send for NopConnectionCustomizer
impl Sync for NopConnectionCustomizer
impl Unpin for NopConnectionCustomizer
impl UnwindSafe for NopConnectionCustomizer
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
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