diff options
Diffstat (limited to 'src/dns_config.rs')
-rw-r--r-- | src/dns_config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dns_config.rs b/src/dns_config.rs index 77153ea..1356fc7 100644 --- a/src/dns_config.rs +++ b/src/dns_config.rs @@ -24,7 +24,7 @@ pub struct DnsConfig { pub entries: HashMap<DnsEntryKey, DnsEntryValue>, } -#[derive(Debug, Hash, PartialEq, Eq)] +#[derive(Clone, Debug, Hash, PartialEq, Eq)] pub struct DnsEntryKey { pub dns_path: String, pub record_type: DnsRecordType, @@ -35,7 +35,7 @@ pub struct DnsEntryValue { pub targets: HashSet<String>, } -#[derive(Debug, Hash, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)] #[allow(clippy::upper_case_acronyms)] pub enum DnsRecordType { A, |