From 32f756f8006da52906bdf6b7466681cfa4b555fa Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 18:10:02 +0100 Subject: [PATCH] `hostmeta`: Fix type not being an attribute --- acrate-hostmeta/src/xrd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acrate-hostmeta/src/xrd.rs b/acrate-hostmeta/src/xrd.rs index f7c80e6..ef92cb4 100644 --- a/acrate-hostmeta/src/xrd.rs +++ b/acrate-hostmeta/src/xrd.rs @@ -133,7 +133,7 @@ pub struct ResourceDescriptorTitleXRD { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ResourceDescriptorPropertyXRD { /// The property identifier, or type. - #[serde(alias = "@type")] + #[serde(rename = "@type")] pub r#type: String, /// The property value.