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 CompositionUseCase {
    /// This value shall indicate the computer system supports being registered as a resource block in order for it to participate in composition requests.
    ResourceBlockCapable,
    /// This value shall indicate the computer system supports expandable system composition and is associated with a resource block.
    ExpandableSystem,
}

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

impl crate::Metadata<'static> for CompositionUseCase {
    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
}