mirror of
https://github.com/cirruslabs/softnet.git
synced 2026-10-18 04:43:30 +02:00
PartialEq for ExposedPort (#90)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use anyhow::{anyhow, Context, Error};
|
||||
use std::str::FromStr;
|
||||
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq)]
|
||||
pub struct ExposedPort {
|
||||
pub external_port: u16,
|
||||
pub internal_port: u16,
|
||||
|
||||
Reference in New Issue
Block a user