redfish_codegen/models/host_interface/v1_3_0/
authentication_mode.rs1#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum AuthenticationMode {
6 AuthNone,
8 BasicAuth,
10 RedfishSessionAuth,
12 OemAuth,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for AuthenticationMode {
18 fn default() -> AuthenticationMode {
19 AuthenticationMode::AuthNone
20 }
21}
22
23impl crate::Metadata<'static> for AuthenticationMode {
24 const JSON_SCHEMA: &'static str = "HostInterface.v1_3_0.json";
25}