redfish_codegen/models/power/v1_7_1/input_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum InputType {
6 /// Alternating Current (AC) input range.
7 AC,
8 /// Direct Current (DC) input range.
9 DC,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for InputType {
14 fn default() -> InputType {
15 InputType::AC
16 }
17}
18
19impl crate::Metadata<'static> for InputType {
20 const JSON_SCHEMA: &'static str = "Power.v1_7_1.json";
21}