diff options
Diffstat (limited to 'src/messages.rs')
-rw-r--r-- | src/messages.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/messages.rs b/src/messages.rs index 63f16b0..e5322f1 100644 --- a/src/messages.rs +++ b/src/messages.rs @@ -2,15 +2,15 @@ use std::collections::HashSet; #[derive(Debug, Clone, PartialEq, Eq)] pub struct PublicExposedPorts { - pub tcp_ports: HashSet<u16>, - pub udp_ports: HashSet<u16>, + 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(), - }; - } + pub fn new() -> Self { + return Self { + tcp_ports: HashSet::new(), + udp_ports: HashSet::new(), + }; + } } |