redfish_codegen/models/component_integrity/v1_2_1/
measurement_specification.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum MeasurementSpecification {
6    /// This value shall indicate the measurement specification is defined by DMTF in DSP0274.
7    DMTF,
8}
9
10#[allow(clippy::derivable_impls)]
11impl Default for MeasurementSpecification {
12     fn default() -> MeasurementSpecification {
13        MeasurementSpecification::DMTF
14     }
15}
16
17impl crate::Metadata<'static> for MeasurementSpecification {
18    const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json";
19}