Struct postgres::params::ConnectParams [] [src]

pub struct ConnectParams { /* fields omitted */ }

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

Methods

impl ConnectParams
[src]

[src]

Returns a new builder.

[src]

The target host.

[src]

The target port.

Defaults to 5432.

[src]

The user to log in as.

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

[src]

The database to connect to.

[src]

Runtime parameters to be passed to the Postgres backend.

Trait Implementations

impl Debug for ConnectParams
[src]

[src]

Formats the value using the given formatter.

impl Clone for ConnectParams
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl IntoConnectParams for ConnectParams
[src]

[src]

Converts the value of self into a ConnectParams.