redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum CXLSemantic {
    /// This value shall indicate the device conforms with the CXL Specification-defined 'CXL.io' semantic.
    CXLio,
    /// This value shall indicate the device conforms with the CXL Specification-defined 'CXL.cache' semantic.
    CXLcache,
    /// This value shall indicate the device conforms with the CXL Specification-defined 'CXL.mem' semantic.
    CXLmem,
}

#[allow(clippy::derivable_impls)]
impl Default for CXLSemantic {
     fn default() -> CXLSemantic {
        CXLSemantic::CXLio
     }
}

impl crate::Metadata<'static> for CXLSemantic {
    const JSON_SCHEMA: &'static str = "CXLLogicalDevice.v1_0_0.json";
}