From ca9d23da994a0006598c3fbb162a6a10d22f8cd5 Mon Sep 17 00:00:00 2001 From: Alessandro Date: Fri, 10 Nov 2023 19:16:49 +0100 Subject: [PATCH] derive eq for DnsContent --- cloudflare/src/endpoints/dns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare/src/endpoints/dns.rs b/cloudflare/src/endpoints/dns.rs index 871945ff..64cc883f 100644 --- a/cloudflare/src/endpoints/dns.rs +++ b/cloudflare/src/endpoints/dns.rs @@ -161,7 +161,7 @@ pub struct Meta { /// Type of the DNS record, along with the associated value. /// When we add support for other types (LOC/SRV/...), the `meta` field should also probably be encoded /// here as an associated, strongly typed value. -#[derive(Deserialize, Serialize, Clone, Debug)] +#[derive(Deserialize, Serialize, Eq, PartialEq, Clone, Debug)] #[serde(tag = "type")] #[allow(clippy::upper_case_acronyms)] pub enum DnsContent {