Struct sqlx_core::testing::TestContext
source · [−]pub struct TestContext<DB: Database> {
pub pool_opts: PoolOptions<DB>,
pub connect_opts: <DB::Connection as Connection>::Options,
pub db_name: String,
}
Fields
pool_opts: PoolOptions<DB>
connect_opts: <DB::Connection as Connection>::Options
db_name: String
Auto Trait Implementations
impl<DB> !RefUnwindSafe for TestContext<DB>
impl<DB> Send for TestContext<DB>
impl<DB> Sync for TestContext<DB>
impl<DB> Unpin for TestContext<DB> where
<<DB as Database>::Connection as Connection>::Options: Unpin,
impl<DB> !UnwindSafe for TestContext<DB>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more