redfish_codegen/models/pcie_device/v1_11_1/
slot_type.rs1#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SlotType {
6 FullLength,
8 HalfLength,
10 LowProfile,
12 Mini,
14 M2,
16 OEM,
18 #[serde(rename = "OCP3Small")]
20 OCP3S,
21 #[serde(rename = "OCP3Large")]
23 OCP3L,
24 U2,
26}
27
28#[allow(clippy::derivable_impls)]
29impl Default for SlotType {
30 fn default() -> SlotType {
31 SlotType::FullLength
32 }
33}
34
35impl crate::Metadata<'static> for SlotType {
36 const JSON_SCHEMA: &'static str = "PCIeDevice.v1_11_1.json";
37}