pub struct ResolvedConnection {
pub dialect: Dialect,
pub driver: Driver,
pub credentials: Credentials,
}Expand description
A live database target: dialect, driver, and credentials, checked to fit together.
Keeping the driver beside the credentials means the command and the code that connects always agree on which driver to use.
Fields§
§dialect: DialectEffective dialect.
driver: DriverDriver to connect with.
credentials: CredentialsResolved credentials.
Trait Implementations§
Source§impl Clone for ResolvedConnection
impl Clone for ResolvedConnection
Auto Trait Implementations§
impl Freeze for ResolvedConnection
impl RefUnwindSafe for ResolvedConnection
impl Send for ResolvedConnection
impl Sync for ResolvedConnection
impl Unpin for ResolvedConnection
impl UnsafeUnpin for ResolvedConnection
impl UnwindSafe for ResolvedConnection
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