Skip to content

Glossary: Rust in Practice

internally tagged

Also written: internally-tagged enum

A serde enum format, chosen with `tag = "type"`, where the variant name goes in a `"type"` field beside the data.

Where the book teaches it

Related terms

externally tagged