diff options
author | D. Scott Boggs <scott@tams.tech> | 2023-06-05 09:31:21 -0400 |
---|---|---|
committer | D. Scott Boggs <scott@tams.tech> | 2023-09-01 07:50:40 -0400 |
commit | 6a5a8576f830d71f266c75f66f46ad02a9e36faf (patch) | |
tree | ec80c1c9066e5aa1ceae57118c2e17f39dc62f95 | |
parent | b296215ed16d7e36af6aab4702e36a91c16996cc (diff) |
Remove unnecessary/problematic serde 'deny_unused_fields' attribute
-rw-r--r-- | entities/src/attachment.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/entities/src/attachment.rs b/entities/src/attachment.rs index 8c5a013..7737d68 100644 --- a/entities/src/attachment.rs +++ b/entities/src/attachment.rs @@ -9,7 +9,6 @@ use url::Url; /// /// See also [the API documentation](https://docs.joinmastodon.org/entities/MediaAttachment/) #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] -#[serde(deny_unknown_fields)] pub struct Attachment { /// ID of the attachment. pub id: AttachmentId, |