Struct diesel::r2d2::event::AcquireEvent
source · pub struct AcquireEvent { /* private fields */ }
Expand description
Information about an acquire event.
Implementations§
source§impl AcquireEvent
impl AcquireEvent
sourcepub fn connection_id(&self) -> u64
pub fn connection_id(&self) -> u64
Returns the ID of the connection.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AcquireEvent
impl Send for AcquireEvent
impl Sync for AcquireEvent
impl Unpin for AcquireEvent
impl UnwindSafe for AcquireEvent
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