1 2 3 4 5 6 7 8 9 10 11 12
use std::net::IpAddr; use serde::{ Deserialize, Serialize, }; #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct HostEntry { pub ip: IpAddr, pub hostname: String, }