From 543a5b6fd344f93ccb8575dac991972007c073c9 Mon Sep 17 00:00:00 2001 From: pkb-pmj <103094889+pkb-pmj@users.noreply.github.com> Date: Sun, 9 Jul 2023 14:44:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20rename=20kind=20to=20type=20in?= =?UTF-8?q?=20serde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/linked_roles/model.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/linked_roles/model.rs b/src/linked_roles/model.rs index 1c9d93b..37de7ea 100644 --- a/src/linked_roles/model.rs +++ b/src/linked_roles/model.rs @@ -39,6 +39,7 @@ pub enum MetadataType { #[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)] pub struct Metadata { /// type of metadata value + #[serde(rename = "type")] pub kind: MetadataType, /// dictionary key for the metadata field /// (must be a-z, 0-9, or _ characters; max 50 characters)