pub struct PostgresOptions {
pub config: PgConfig,
pub translate_placeholders: bool,
}Expand description
Options for configuring a Postgres pool.
Fields§
§config: PgConfig§translate_placeholders: boolImplementations§
Trait Implementations§
Source§impl Clone for PostgresOptions
impl Clone for PostgresOptions
Source§fn clone(&self) -> PostgresOptions
fn clone(&self) -> PostgresOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PostgresOptions
impl RefUnwindSafe for PostgresOptions
impl Send for PostgresOptions
impl Sync for PostgresOptions
impl Unpin for PostgresOptions
impl UnwindSafe for PostgresOptions
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