1
Fork 0

hostmeta: Fix type not being an attribute

This commit is contained in:
Steffo 2024-11-15 18:10:02 +01:00
parent a020861e33
commit 32f756f800
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -133,7 +133,7 @@ pub struct ResourceDescriptorTitleXRD {
#[derive(Debug, Clone, Serialize, Deserialize)] #[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ResourceDescriptorPropertyXRD { pub struct ResourceDescriptorPropertyXRD {
/// The property identifier, or type. /// The property identifier, or type.
#[serde(alias = "@type")] #[serde(rename = "@type")]
pub r#type: String, pub r#type: String,
/// The property value. /// The property value.