Struct tokio_postgres::params::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder for ConnectParams.

Methods

impl Builder
[src]

Creates a new builder.

Sets the port.

Sets the user.

Sets the database.

Adds a runtime parameter.

Constructs a ConnectParams from the builder.