redfish-codegen 0.3.1

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


/// TPM-specific information for a trusted component.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct TPM {
    /// The capabilities vendor ID for this trusted component.
    #[serde(rename = "CapabilitiesVendorID")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub capabilities_vendor_id: Option<String>,
    /// The hardware interface vendor ID for this trusted component.
    #[serde(rename = "HardwareInterfaceVendorID")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub hardware_interface_vendor_id: Option<String>,
}

impl crate::Metadata<'static> for TPM {
    const JSON_SCHEMA: &'static str = "TrustedComponent.v1_1_0.json";
}