Skip to content

Commit

Permalink
πŸ› rename kind to type in serde
Browse files Browse the repository at this point in the history
  • Loading branch information
pkb-pmj committed Jul 9, 2023
1 parent e942381 commit 543a5b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/linked_roles/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 543a5b6

Please sign in to comment.