diff --git a/cloudflare/src/endpoints/dns.rs b/cloudflare/src/endpoints/dns.rs index 42d1cfa7..cde7df14 100644 --- a/cloudflare/src/endpoints/dns.rs +++ b/cloudflare/src/endpoints/dns.rs @@ -146,7 +146,7 @@ pub struct ListDnsRecordsParams { } /// Extra Cloudflare-specific information about the record -#[derive(Deserialize, Debug)] +#[derive(Deserialize, Clone, Debug)] pub struct Meta { /// Will exist if Cloudflare automatically added this DNS record during initial setup. pub auto_added: bool, @@ -174,7 +174,7 @@ pub struct DeleteDnsRecordResponse { pub id: String, } -#[derive(Deserialize, Debug)] +#[derive(Deserialize, Clone, Debug)] pub struct DnsRecord { /// Extra Cloudflare-specific information about the record pub meta: Meta,