pub struct CHAPConnectionKey {
pub chap_password: Option<String>,
pub chap_username: Option<String>,
pub initiator_chap_password: Option<String>,
pub initiator_chap_username: Option<String>,
pub target_chap_password: Option<String>,
}
Expand description
The CHAP-specific permission key information for a connection.
Fields§
§chap_password: Option<String>
The password for CHAP authentication. The value is null
in responses.
chap_username: Option<String>
The username for CHAP authentication.
initiator_chap_password: Option<String>
The initiator shared secret for mutual (2-way) CHAP authentication. The value is null
in responses.
initiator_chap_username: Option<String>
The initiator username for mutual (2-way) CHAP authentication.
target_chap_password: Option<String>
The target shared secret for mutual (2-way) CHAP authentication. The value is null
in responses.
Trait Implementations§
Source§impl Clone for CHAPConnectionKey
impl Clone for CHAPConnectionKey
Source§fn clone(&self) -> CHAPConnectionKey
fn clone(&self) -> CHAPConnectionKey
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 CHAPConnectionKey
impl Debug for CHAPConnectionKey
Source§impl Default for CHAPConnectionKey
impl Default for CHAPConnectionKey
Source§impl<'de> Deserialize<'de> for CHAPConnectionKey
impl<'de> Deserialize<'de> for CHAPConnectionKey
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 CHAPConnectionKey
impl Metadata<'static> for CHAPConnectionKey
Source§const JSON_SCHEMA: &'static str = "Connection.v1_2_0.json"
const JSON_SCHEMA: &'static str = "Connection.v1_2_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 CHAPConnectionKey
impl RefUnwindSafe for CHAPConnectionKey
impl Send for CHAPConnectionKey
impl Sync for CHAPConnectionKey
impl Unpin for CHAPConnectionKey
impl UnwindSafe for CHAPConnectionKey
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