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§
Source§impl Clone for Credentials
impl Clone for Credentials
Source§fn clone(&self) -> Credentials
fn clone(&self) -> Credentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Credentials
impl Debug for Credentials
Source§impl<'de> Deserialize<'de> for Credentials
impl<'de> Deserialize<'de> for Credentials
Source§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 Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more