pub struct PortRange {
pub start_port: u16,
pub end_port: u16,
}Expand description
PortRange. Inclusive at both ends, per the model’s min: 1, max: 65535 on each.
Fields§
§start_port: u16§end_port: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for PortRange
impl RefUnwindSafe for PortRange
impl Send for PortRange
impl Sync for PortRange
impl Unpin for PortRange
impl UnsafeUnpin for PortRange
impl UnwindSafe for PortRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more