pub struct DbSession {
pub db_name: String,
pub pool: Pool<SqliteConnectionManager>,
}
Fields§
§db_name: String
§pool: Pool<SqliteConnectionManager>
Auto Trait Implementations§
impl Freeze for DbSession
impl !RefUnwindSafe for DbSession
impl Send for DbSession
impl Sync for DbSession
impl Unpin for DbSession
impl !UnwindSafe for DbSession
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