[][src]Trait sqlx::row::HasRow

pub trait HasRow<'c> where
    <Self::Row as Row<'c>>::Database == Self::Database
{ type Database: Database; type Row: Row<'c>; }

Associate Database with a Row of a generic lifetime.


The upcoming Rust feature, Generic Associated Types, should obviate the need for this trait.

Associated Types

type Database: Database

type Row: Row<'c>

The concrete Row implementation for this database.

Loading content...

Implementors

impl<'a> HasRow<'a> for Postgres[src]

type Database = Postgres

type Row = PgRow<'a>

impl<'c> HasRow<'c> for MySql[src]

type Database = MySql

type Row = MySqlRow<'c>

impl<'c> HasRow<'c> for Sqlite[src]

type Database = Sqlite

type Row = SqliteRow<'c>

Loading content...