orthogonal design

This commit is contained in:
Infendro committed 2026-11-21 10:44:38 +01:00
1 parent 6467c79eac
commit 387f9d6b8c
12 files changed
+266 -161

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
pub struct DnsRecord {
pub id: String,
pub type_: String,
pub domain: String,
pub subdomain: String,
pub value: String,
pub ttl: i32,
}
impl DnsRecord {
pub fn new(
id: String,
type_: String,
domain: String,
subdomain: String,
value: String,
ttl: i32,
) -> Self {
Self { id, type_, domain, subdomain, value, ttl }
}
}