redfish_codegen/models/computer_system/v1_20_1/
composition_use_case.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum CompositionUseCase {
6    /// This value shall indicate the computer system supports being registered as a resource block in order for it to participate in composition requests.
7    ResourceBlockCapable,
8    /// This value shall indicate the computer system supports expandable system composition and is associated with a resource block.
9    ExpandableSystem,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for CompositionUseCase {
14     fn default() -> CompositionUseCase {
15        CompositionUseCase::ResourceBlockCapable
16     }
17}
18
19impl crate::Metadata<'static> for CompositionUseCase {
20    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
21}