Enum go_away::types::UnionRepresentation [−][src]
pub enum UnionRepresentation {
AdjacentlyTagged {
tag: String,
content: String,
},
InternallyTagged {
tag: String,
},
ExternallyTagged,
Untagged,
}
Expand description
The serialized representation of the union type
See https://serde.rs/enum-representations.html for details
Variants
An adjacently tagged representation
Fields of AdjacentlyTagged
An internally tagged representation
Fields of InternallyTagged
tag: String
The name of the tag field
An externally tagged representation
An untagged representation