Struct postgres_shared::params::ConnectParams [] [src]

pub struct ConnectParams { /* fields omitted */ }

Information necessary to open a new connection to a Postgres server.

Methods

impl ConnectParams
[src]

[]

Returns a new builder.

[]

The target host.

[]

The target port.

Defaults to 5432.

[]

The user to log in as.

A user is required to open a new connection but not to cancel a query.

[]

The database to connect to.

[]

Runtime parameters to be passed to the Postgres backend.

Trait Implementations

impl Clone for ConnectParams
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for ConnectParams
[src]

[]

Formats the value using the given formatter.

impl IntoConnectParams for ConnectParams
[src]

[]

Converts the value of self into a ConnectParams.