use std::sync::Arc; pub struct Database { pub connection: Arc, } impl Database { fn init(&self) {} fn save(&self) {} fn restore(&self) {} }