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.

[src]

A timeout to apply to each socket-level connection attempt.

Trait Implementations

impl Hash for ConnectParams
[src]

[src]

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 Eq for ConnectParams
[src]

impl PartialEq<ConnectParams> for ConnectParams
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for ConnectParams
[src]

[src]

Formats the value using the given formatter.

impl IntoConnectParams for ConnectParams
[src]

[src]

Converts the value of self into a ConnectParams.