Struct cf_services::Credentials[][src]

pub struct Credentials {
    pub uri: String,
    pub jdbc_url: String,
    pub api_uri: String,
    pub license_key: String,
    pub client_secret: String,
    pub client_id: String,
    pub access_token_uri: String,
    pub hostname: String,
    pub username: String,
    pub password: String,
    pub port: i16,
    pub name: String,
}
Expand description

The credentials information for authenticating with the service.

Fields

uri: String

The URI of the service.

jdbc_url: String

The JDBC URI of the service.

api_uri: String

The API URI of the service.

license_key: String

Th license key for the service.

client_secret: String

The Client Secret for generating a token via OAuth.

client_id: String

The Client ID for generating a token via OAuth.

access_token_uri: String

The Access Token URI for generating a token via OAuth.

hostname: String

The hostname of the service.

username: String

The username to authenticate with the service.

password: String

The password of the username.

port: i16

The Port of the service.

name: String

The name of the credentials.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.