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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§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
Source§impl Metadata<'static> for Authentication
impl Metadata<'static> for Authentication
Source§const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Authentication
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnwindSafe for Authentication
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