From e0587d678672ad79ddc36cdf6aaec0bcb827fa72 Mon Sep 17 00:00:00 2001 From: Rishabh Bector Date: Thu, 17 Jun 2021 14:13:28 -0500 Subject: [PATCH] TUN-4572: Fixing serialization of list dns records endpoint (#148) Co-authored-by: Rishabh Bector --- cloudflare/src/endpoints/dns.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cloudflare/src/endpoints/dns.rs b/cloudflare/src/endpoints/dns.rs index 495fe422..f9eca221 100644 --- a/cloudflare/src/endpoints/dns.rs +++ b/cloudflare/src/endpoints/dns.rs @@ -134,6 +134,7 @@ pub enum ListDnsRecordsOrder { #[serde_with::skip_serializing_none] #[derive(Serialize, Clone, Debug, Default)] pub struct ListDnsRecordsParams { + #[serde(flatten)] pub record_type: Option, pub name: Option, pub page: Option,