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: StringThe URI of the service.
jdbc_url: StringThe JDBC URI of the service.
api_uri: StringThe API URI of the service.
license_key: StringTh license key for the service.
client_secret: StringThe Client Secret for generating a token via OAuth.
client_id: StringThe Client ID for generating a token via OAuth.
access_token_uri: StringThe Access Token URI for generating a token via OAuth.
hostname: StringThe hostname of the service.
username: StringThe username to authenticate with the service.
password: StringThe password of the username.
port: i16The Port of the service.
name: StringThe name of the credentials.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
Blanket Implementations
Mutably borrows from an owned value. Read more