Struct postgres_shared::params::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder for ConnectParams.

Methods

impl Builder
[src]

[src]

Creates a new builder.

[src]

Sets the port.

[src]

Sets the user.

[src]

Sets the database.

[src]

Adds a runtime parameter.

[src]

Constructs a ConnectParams from the builder.