pub struct SPDMsingleMeasurement {
pub last_updated: Option<String>,
pub measurement: Option<String>,
pub measurement_hash_algorithm: Option<String>,
pub measurement_index: Option<i64>,
pub measurement_type: Option<DMTFmeasurementTypes>,
pub oem: Option<Oem>,
pub partof_summary_hash: Option<bool>,
pub security_version_number: Option<String>,
}
Expand description
A single SPDM measurement for an SPDM Responder.
Fields§
§last_updated: Option<String>
The date and time when information for the measurement was last updated.
measurement: Option<String>
The measurement data.
measurement_hash_algorithm: Option<String>
The hash algorithm used to compute the measurement.
measurement_index: Option<i64>
The index of the measurement.
measurement_type: Option<DMTFmeasurementTypes>
§oem: Option<Oem>
§partof_summary_hash: Option<bool>
Indicates whether this measurement is part of the measurement summary.
security_version_number: Option<String>
The security version number the measurement represents.
Trait Implementations§
Source§impl Clone for SPDMsingleMeasurement
impl Clone for SPDMsingleMeasurement
Source§fn clone(&self) -> SPDMsingleMeasurement
fn clone(&self) -> SPDMsingleMeasurement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SPDMsingleMeasurement
impl Debug for SPDMsingleMeasurement
Source§impl Default for SPDMsingleMeasurement
impl Default for SPDMsingleMeasurement
Source§impl<'de> Deserialize<'de> for SPDMsingleMeasurement
impl<'de> Deserialize<'de> for SPDMsingleMeasurement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for SPDMsingleMeasurement
impl Metadata<'static> for SPDMsingleMeasurement
Source§const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json"
const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SPDMsingleMeasurement
impl RefUnwindSafe for SPDMsingleMeasurement
impl Send for SPDMsingleMeasurement
impl Sync for SPDMsingleMeasurement
impl Unpin for SPDMsingleMeasurement
impl UnwindSafe for SPDMsingleMeasurement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more