Trait diesel::row::RowGatWorkaround

source ·
pub trait RowGatWorkaround<'a, DB: Backend> {
    type Field: Field<'a, DB>;
}
Expand description

A helper trait to indicate the life time bound for a field returned by Row::get

Required Associated Types§

source

type Field: Field<'a, DB>

Field type returned by a Row implementation

  • Crates using existing backend should not concern themself with the concrete type of this associated type.

  • Crates implementing custom backends should provide their own type meeting the required trait bounds

Implementors§

source§

impl<'a, 'b, DB, R> RowGatWorkaround<'a, DB> for PartialRow<'b, R>
where DB: Backend, R: RowGatWorkaround<'a, DB>,

source§

type Field = <R as RowGatWorkaround<'a, DB>>::Field