pub struct DbContext { /* private fields */ }Implementations§
Source§impl DbContext
impl DbContext
pub fn new() -> Result<Self, RepositoryError>
pub fn get_database(&self) -> &Database
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DbContext
impl !RefUnwindSafe for DbContext
impl Send for DbContext
impl Sync for DbContext
impl Unpin for DbContext
impl UnsafeUnpin for DbContext
impl !UnwindSafe for DbContext
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