pub enum AuthenticationMethod {
None,
Chap,
MutualChap,
UnsupportedValue,
}Variants§
None
No iSCSI authentication is used.
Chap
iSCSI Challenge Handshake Authentication Protocol (CHAP) authentication is used.
MutualChap
iSCSI Mutual Challenge Handshake Authentication Protocol (CHAP) authentication is used.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
Source§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
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 AuthenticationMethod
impl Debug for AuthenticationMethod
Source§impl<'de> Deserialize<'de> for AuthenticationMethod
impl<'de> Deserialize<'de> for AuthenticationMethod
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 PartialEq for AuthenticationMethod
impl PartialEq for AuthenticationMethod
Source§impl Serialize for AuthenticationMethod
impl Serialize for AuthenticationMethod
Source§impl ToSnakeCase for AuthenticationMethod
impl ToSnakeCase for AuthenticationMethod
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for AuthenticationMethod
impl Eq for AuthenticationMethod
impl StructuralPartialEq for AuthenticationMethod
Auto Trait Implementations§
impl Freeze for AuthenticationMethod
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnsafeUnpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
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