redfish_codegen/models/component_integrity/v1_2_1/
tpm_get_signed_measurements.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// This action generates a TPM cryptographic signed statement over the given nonce and PCRs of the TPM for TPM 2.0 devices.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct TPMGetSignedMeasurements {
9    /// Link to invoke action
10    #[serde(default, skip_serializing_if = "Option::is_none")]
11    pub target: Option<String>,
12    /// Friendly action name
13    #[serde(default, skip_serializing_if = "Option::is_none")]
14    pub title: Option<String>,
15}
16
17impl crate::Metadata<'static> for TPMGetSignedMeasurements {
18    const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json";
19}