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

+13
View File
@@ -0,0 +1,13 @@
pub struct IpAddress {
pub ipv4: Option<String>,
pub ipv6: Option<String>,
}
impl IpAddress {
pub fn new(
ipv4: Option<String>,
ipv6: Option<String>
) -> Self {
Self { ipv4, ipv6 }
}
}