pub struct PostgresConnectionConfig {
pub user: Option<String>,
pub password: Option<String>,
pub host: Option<String>,
pub port: Option<u16>,
pub database: Option<String>,
pub application_name: Option<String>,
pub tls_config: TlsConfig,
}
Fields§
§user: Option<String>
§password: Option<String>
§host: Option<String>
§port: Option<u16>
§database: Option<String>
§application_name: Option<String>
§tls_config: TlsConfig
Trait Implementations§
Source§impl Clone for PostgresConnectionConfig
impl Clone for PostgresConnectionConfig
Source§fn clone(&self) -> PostgresConnectionConfig
fn clone(&self) -> PostgresConnectionConfig
Returns a copy 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 moreSource§impl From<PostgresConnectionConfig> for String
impl From<PostgresConnectionConfig> for String
Source§fn from(config: PostgresConnectionConfig) -> Self
fn from(config: PostgresConnectionConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PostgresConnectionConfig
impl RefUnwindSafe for PostgresConnectionConfig
impl Send for PostgresConnectionConfig
impl Sync for PostgresConnectionConfig
impl Unpin for PostgresConnectionConfig
impl UnwindSafe for PostgresConnectionConfig
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