rust-protobuf icon indicating copy to clipboard operation
rust-protobuf copied to clipboard

Derive Hash for EnumOrUnknown

Open idiomic opened this issue 1 year ago • 0 comments

Since EnumOrUnknown does not have a protoc insertion point, additional derives cannot be added via the api. At the same time, EnumOrUnknown are simple values that are likely to be stored in a hash collection, such as a map or set. This single word commit adds the derive for the Hash trait to EnumOrUnknown.

idiomic avatar Jul 03 '24 17:07 idiomic