1use sqlx::PgPool; 2 3/// PostgreSQL database wrapper for rs-auth storage backends. 4#[derive(Clone, Debug)] 5pub struct AuthDb { 6 /// SQLx PostgreSQL connection pool. 7 pub pool: PgPool, 8} 9 10impl AuthDb { 11 pub fn new(pool: PgPool) -> Self { 12 Self { pool } 13 } 14}