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]

[src]

Returns a new builder for ConnectParams.

[src]

The target host.

[src]

The target port.

[src]

The database user.

[src]

The password.

[src]

Options to be passed to HANA.

Trait Implementations

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