Struct hdbconnect::ConnectParams[][src]

pub struct ConnectParams { /* fields omitted */ }

An immutable struct with all information necessary to open a new connection to a HANA database.

An instance of ConnectParams can be created either programmatically with the builder, or implicitly using the trait IntoConnectParams and its implementations.

Example

use hdbconnect::IntoConnectParams;
let conn_params = "hdbsql://my_user:my_passwd@the_host:2222"
    .into_connect_params()
    .unwrap();

Methods

impl ConnectParams
[src]

Returns a new builder for ConnectParams.

The target host.

The target port.

The database user.

The password.

Options to be passed to HANA.

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. Read more

impl IntoConnectParams for ConnectParams
[src]

Converts the value of self into a ConnectParams.

Auto Trait Implementations