pub struct Mysql {
pub config: Config,
pub pool: HashMap<String, Connect>,
}
Fields§
§config: Config
基础配置
pool: HashMap<String, Connect>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mysql
impl RefUnwindSafe for Mysql
impl Send for Mysql
impl Sync for Mysql
impl Unpin for Mysql
impl UnwindSafe for Mysql
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