aboutsummaryrefslogtreecommitdiff
path: root/src/messages.rs
blob: 31ed48f53b573b1cdbf007ec9913ec6edf393a25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone)]
pub struct PublicExposedPorts {
  pub tcp_ports: Vec<u16>,
  pub udp_ports: Vec<u16>
}

impl PublicExposedPorts {
  pub fn new() -> Self {
    return Self {
      tcp_ports: Vec::new(),
      udp_ports: Vec::new()
    }
  }
}