From be09fd0bd8b0e1e075a9ea84046ea0f7aaebc999 Mon Sep 17 00:00:00 2001 From: Pawel Zmarzly Date: Wed, 29 Jan 2025 11:27:07 -0800 Subject: [PATCH] Update scope of rust.Serde Reviewed By: slawlor Differential Revision: D68773604 fbshipit-source-id: c7c20de28f5cc5b1ade4e64ed818d61e4d034a13 --- thrift/annotation/rust.thrift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thrift/annotation/rust.thrift b/thrift/annotation/rust.thrift index 450169bac..172c4f024 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; }