blob: 86ba1b2f77cbe850db5b1a8fd544e25f18f381e0 (
plain) (
tree)
|
|
use std::collections::HashSet;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct PublicExposedPorts {
pub tcp_ports: HashSet<u16>,
pub udp_ports: HashSet<u16>,
pub acme: HashSet<String>
}
impl PublicExposedPorts {
pub fn new() -> Self {
return Self {
tcp_ports: HashSet::new(),
udp_ports: HashSet::new(),
acme: HashSet::new()
}
}
}
|