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)