pub struct Ergol {
pub client: Client,
}
Expand description
The type that wraps the connection to the database.
Fields§
§client: Client
The connection to the postgres client.
Auto Trait Implementations§
impl !RefUnwindSafe for Ergol
impl Send for Ergol
impl Sync for Ergol
impl Unpin for Ergol
impl !UnwindSafe for Ergol
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