aboutsummaryrefslogblamecommitdiff
path: root/src/messages.rs
blob: e5322f1d15eab53284439d32a6bf98e2160243bc (plain) (tree)
1
2
3
4
5
6
7
8
9


                                      
                               

                                
 

                         





                                      
 
use std::collections::HashSet;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct PublicExposedPorts {
    pub tcp_ports: HashSet<u16>,
    pub udp_ports: HashSet<u16>,
}

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