mod ip; use ip::IpAddr; #[allow(unused)] pub struct Network { network_address: IpAddr, broadcast_addr: IpAddr, subnet_mask: Option } impl Network { // pub fn generate_subnets(self) -> Vec {} // fn get_net_id(self) -> u8 {} }