pub enum BasicAuthState {
Enabled,
Unadvertised,
Disabled,
UnsupportedValue,
}Variants§
Enabled
HTTP Basic authentication is enabled.
This value shall indicate that HTTP Basic authentication is enabled for the service. The service
shall include the WWW-Authenticate HTTP response header with the value including Basic when
returning the HTTP 401 Unauthorized status code.
Unadvertised
HTTP Basic authentication is enabled, but is not advertised with the WWW-Authenticate response
header.
This value shall indicate that HTTP Basic authentication is enabled for the service. The service
shall not include Basic in the value of the WWW-Authenticate HTTP response header and may omit
the header entirely from responses. The lack of advertisement prevents some clients from accessing
the service with HTTP Basic authentication, such as web browsers.
Disabled
HTTP Basic authentication is disabled.
This value shall indicate that HTTP Basic authentication is disabled for the service.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for BasicAuthState
impl Clone for BasicAuthState
Source§fn clone(&self) -> BasicAuthState
fn clone(&self) -> BasicAuthState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BasicAuthState
impl Debug for BasicAuthState
Source§impl<'de> Deserialize<'de> for BasicAuthState
impl<'de> Deserialize<'de> for BasicAuthState
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>,
Source§impl PartialEq for BasicAuthState
impl PartialEq for BasicAuthState
Source§impl Serialize for BasicAuthState
impl Serialize for BasicAuthState
Source§impl ToSnakeCase for BasicAuthState
impl ToSnakeCase for BasicAuthState
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string