Struct sqlx_core_oldapi::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: 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§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more