Skip to content

Glossary: Rust in Practice

deny_unknown_fields

A serde attribute that makes deserializing fail if the input has fields the struct doesn't know, instead of ignoring them.

Where the book teaches it

Related terms

serde