redfish_codegen/models/signature/signature_type_registry.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SignatureTypeRegistry {
6 /// This value shall indicate that the SignatureType string contains the #define name of the SignatureType member of the EFI_SIGNATURE_LIST, as defined by the UEFI Specification. This value shall also indicate that the format of the SignatureString is a big-endian hex-encoded string of the binary value specified in the UEFI SignatureData array in EFI_SIGNATURE_DATA, as defined by the UEFI Specification.
7 UEFI,
8}
9
10#[allow(clippy::derivable_impls)]
11impl Default for SignatureTypeRegistry {
12 fn default() -> SignatureTypeRegistry {
13 SignatureTypeRegistry::UEFI
14 }
15}
16
17impl crate::Metadata<'static> for SignatureTypeRegistry {
18 const JSON_SCHEMA: &'static str = "Signature.json";
19}