# CloneSPDatabase in db_sqlx_postgres::dev - Rust
Trait to clone MCDatabase

# Trait db_sqlx_postgres::dev::CloneSPDatabase

source ·

    pub trait CloneSPDatabase {
        // Required method
        fn clone_db(&self) -> Box<dyn MCDatabase>;
    }

Expand description

Trait to clone MCDatabase

## Required Methods§

source

#### fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

## Implementors§

source §

### impl<T> CloneSPDatabase for T
where T: MCDatabase + Clone + 'static,