Struct diesel::pg::PgRowByRowLoadingMode
source · pub struct PgRowByRowLoadingMode;
Available on crate features
postgres
and postgres_backend
only.Expand description
A PgConnection
specific loading mode to load rows one by one
See the documentation of PgConnection
for details
Trait Implementations§
source§impl Clone for PgRowByRowLoadingMode
impl Clone for PgRowByRowLoadingMode
source§fn clone(&self) -> PgRowByRowLoadingMode
fn clone(&self) -> PgRowByRowLoadingMode
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<'conn, 'query> ConnectionGatWorkaround<'conn, 'query, Pg, PgRowByRowLoadingMode> for PgConnection
impl<'conn, 'query> ConnectionGatWorkaround<'conn, 'query, Pg, PgRowByRowLoadingMode> for PgConnection
§type Cursor = RowByRowCursor<'conn>
type Cursor = RowByRowCursor<'conn>
Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes
only.The cursor type returned by
LoadConnection::load
Read more§type Row = PgRow
type Row = PgRow
Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes
only.The row type used as
Iterator::Item
for the iterator implementation
of ConnectionGatWorkaround::Cursor
source§impl Debug for PgRowByRowLoadingMode
impl Debug for PgRowByRowLoadingMode
impl Copy for PgRowByRowLoadingMode
Auto Trait Implementations§
impl RefUnwindSafe for PgRowByRowLoadingMode
impl Send for PgRowByRowLoadingMode
impl Sync for PgRowByRowLoadingMode
impl Unpin for PgRowByRowLoadingMode
impl UnwindSafe for PgRowByRowLoadingMode
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