diff --git a/thrift/annotation/rust.thrift b/thrift/annotation/rust.thrift index 450169baced11..172c4f024ecd0 100644 --- a/thrift/annotation/rust.thrift +++ b/thrift/annotation/rust.thrift @@ -272,6 +272,8 @@ struct Type { // Selectively enable/disable derivation of serde serialization functions for a // given type. @scope.Struct +@scope.Enum +@scope.Union struct Serde { 1: bool enabled; }