Trait sqlmo_sqlx::FromPostgres
source · pub trait FromPostgres: Sized {
// Required method
fn try_from_postgres<'life0, 'life1, 'async_trait>(
conn: &'life0 mut PgConnection,
schema_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}