#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum AuthenticationMode {
AuthNone,
BasicAuth,
RedfishSessionAuth,
OemAuth,
}
#[allow(clippy::derivable_impls)]
impl Default for AuthenticationMode {
fn default() -> AuthenticationMode {
AuthenticationMode::AuthNone
}
}
impl crate::Metadata<'static> for AuthenticationMode {
const JSON_SCHEMA: &'static str = "HostInterface.v1_3_0.json";
}