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>::Optionsdb_name: StringAuto 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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