{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreickkjvhszygmji44qfmlie7ggz2wkz57c337vslgftssgdheviikq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnqpafqabq62"
},
"path": "/t/for-structs-that-have-fields-that-have-only-one-possible-representation-enums-should-use-that-field-as-the-discriminant/24382#post_5",
"publishedAt": "2026-06-08T01:48:10.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Ah right, I didn't see that.",
"title": "For structs that have fields that have only one possible representation, enums should use that field as the discriminant"
}