Struct pleingres::Parameters[][src]

pub struct Parameters {
    pub addr: SocketAddr,
    pub user: String,
    pub password: String,
    pub database: Option<String>,
    pub tcp_keepalive: Option<Duration>,
    pub idle_timeout: Option<Duration>,
    pub ssl: Option<SSLParameters>,
}

Connection configuration: network address, user, database and options. The connection is unencrypted.

Fields

Network address of the server

User name on the server

Password for that user

Database to connect to

TCP keep alive, in milliseconds.

Duration before reconnecting an idle connection.

SSL client certificate

Auto Trait Implementations

impl Send for Parameters

impl Sync for Parameters