use crate::models;
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[serde(untagged)]
pub enum PCIeErrors {
V1_8_1(models::pcie_device::v1_8_1::PCIeErrors),
V1_9_1(models::pcie_device::v1_9_1::PCIeErrors),
V1_10_1(models::pcie_device::v1_10_1::PCIeErrors),
V1_11_1(models::pcie_device::v1_11_1::PCIeErrors),
}
#[allow(clippy::derivable_impls)]
impl Default for PCIeErrors {
fn default() -> PCIeErrors {
PCIeErrors::V1_8_1(models::pcie_device::v1_8_1::PCIeErrors::default())
}
}
impl crate::Metadata<'static> for PCIeErrors {
const JSON_SCHEMA: &'static str = "PCIeDevice.json";
}