From 37982dc71d67fad9cac06a5ec78373d31d613177 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 20 Feb 2023 06:36:32 +1000 Subject: [PATCH] Derive common traits on the RPC struct --- .../methods/get_block_template_rpcs/types/unified_address.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-rpc/src/methods/get_block_template_rpcs/types/unified_address.rs b/zebra-rpc/src/methods/get_block_template_rpcs/types/unified_address.rs index 552433c2201..a8d5c3a128e 100644 --- a/zebra-rpc/src/methods/get_block_template_rpcs/types/unified_address.rs +++ b/zebra-rpc/src/methods/get_block_template_rpcs/types/unified_address.rs @@ -1,7 +1,7 @@ //! Types for unified addresses /// `z_listunifiedreceivers` response -#[derive(serde::Serialize, serde::Deserialize)] +#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize, serde::Deserialize)] pub struct Response { #[serde(skip_serializing_if = "String::is_empty")] orchard: String,