pub struct Authentication {
pub authentication_type: Option<AuthenticationTypes>,
pub encryption_key: Option<String>,
pub encryption_key_set: Option<bool>,
pub kerberos_keytab: Option<String>,
pub oem: Option<Oem>,
pub password: Option<String>,
pub token: Option<String>,
pub username: Option<String>,
}
Expand description
The information required to authenticate to the external service.
Fields§
§authentication_type: Option<AuthenticationTypes>
§encryption_key: Option<String>
Specifies the encryption key.
encryption_key_set: Option<bool>
Indicates if the EncryptionKey property is set.
kerberos_keytab: Option<String>
The Base64-encoded version of the Kerberos keytab for this service. A PATCH or PUT operation writes the keytab. This property is null
in responses.
oem: Option<Oem>
§password: Option<String>
The password for this service. A PATCH or PUT request writes the password. This property is null
in responses.
token: Option<String>
The token for this service. A PATCH or PUT operation writes the token. This property is null
in responses.
username: Option<String>
The user name for the service.
Trait Implementations§
source§impl Clone for Authentication
impl Clone for Authentication
source§fn clone(&self) -> Authentication
fn clone(&self) -> Authentication
Returns a copy 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 Authentication
impl Debug for Authentication
source§impl Default for Authentication
impl Default for Authentication
source§fn default() -> Authentication
fn default() -> Authentication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Authentication
impl<'de> Deserialize<'de> for Authentication
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