Struct mongodb_migrator::migrator::with_connection::WithConnection
source · pub struct WithConnection {
pub db: Database,
}
Fields§
§db: Database
Implementations§
source§impl WithConnection
impl WithConnection
pub fn with_migrations_vec(
self,
migrations: Vec<Box<dyn Migration>>
) -> WithMigrationsVec
pub fn with_shell_config(self, with_shell_config: ShellConfig) -> WithShellConfig
Trait Implementations§
source§impl Clone for WithConnection
impl Clone for WithConnection
source§fn clone(&self) -> WithConnection
fn clone(&self) -> WithConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more