forked from Deuxfleurs/diplonat
15 lines
250 B
Rust
15 lines
250 B
Rust
#[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()
|
|
}
|
|
}
|
|
}
|