redfish_codegen/models/trusted_component/v1_1_0/
trusted_component_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum TrustedComponentType {
6    /// This value shall indicate that the entity has a well-defined physical boundary within the chassis.
7    Discrete,
8    /// This value shall indicate that the entity is integrated into another device.
9    Integrated,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for TrustedComponentType {
14     fn default() -> TrustedComponentType {
15        TrustedComponentType::Discrete
16     }
17}
18
19impl crate::Metadata<'static> for TrustedComponentType {
20    const JSON_SCHEMA: &'static str = "TrustedComponent.v1_1_0.json";
21}