// Copyright 2020-2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
useserde::Deserialize;useserde::Serialize;useserde_json::Value;/// Credential type's display information of a given language.
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]pubstructDisplayMetadata{/// Language tag as defined in [RFC5646](https://www.rfc-editor.org/rfc/rfc5646.txt).
publang: String,
/// VC type's human-readable name.
pubname: String,
/// VC type's human-readable description.
pubdescription:Option<String>,
/// Optional rendering information.
pubrendering:Option<RenderingMetadata>,
}/// Information on how to render a given credential type.
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]pubstructRenderingMetadata(serde_json::Map<String, Value>);