Skip to content

Commit

Permalink
Update scope of rust.Serde
Browse files Browse the repository at this point in the history
Reviewed By: slawlor

Differential Revision: D68773604

fbshipit-source-id: c7c20de28f5cc5b1ade4e64ed818d61e4d034a13
  • Loading branch information
pzmarzly authored and facebook-github-bot committed Jan 29, 2025
1 parent 8dcb0a1 commit c877e89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thrift/annotation/rust.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c877e89

Please sign in to comment.