pub struct MongoContainer;Expand description
MongoDB test container helper
Implementations§
Source§impl MongoContainer
impl MongoContainer
Sourcepub fn config(database: &str) -> ContainerConfig
pub fn config(database: &str) -> ContainerConfig
Create MongoDB test container
Auto Trait Implementations§
impl Freeze for MongoContainer
impl RefUnwindSafe for MongoContainer
impl Send for MongoContainer
impl Sync for MongoContainer
impl Unpin for MongoContainer
impl UnsafeUnpin for MongoContainer
impl UnwindSafe for MongoContainer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<R, D> DepsPresent<D> for R
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging