Home
Press ? for keyboard navigation
❮
Read JSON avoid extra fields - deny_unknown_fields
Read JSON handle missing fields - set defaults
❯
JSON files - missing fields
How to deal with fields that are in our
struct
but are missing from the JSON?
Return
Result
and handle it or let it
panic!
.
Set a default value.
Make the value optional with
Option
.
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)