From db7d4a878ba2e86d089bf011807dc7fb047c1e51 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 20 Nov 2024 09:45:23 +0200 Subject: [PATCH] fix(rust): serde derives for PatchTargetRequest.method --- rust/emerwen-proto/build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust/emerwen-proto/build.rs b/rust/emerwen-proto/build.rs index c82b625..f80ecd5 100644 --- a/rust/emerwen-proto/build.rs +++ b/rust/emerwen-proto/build.rs @@ -10,6 +10,10 @@ fn main() -> Result<(), Box> { "NewTargetRequest.method", "#[derive(serde::Deserialize, serde::Serialize)]", ) + .type_attribute( + "PatchTargetRequest.method", + "#[derive(serde::Deserialize, serde::Serialize)]", + ) .type_attribute( "MethodPing", "#[derive(serde::Deserialize, serde::Serialize)]", -- 2.44.1