Struct outpost::PortMapping
source · pub struct PortMapping {
pub local: u16,
pub public: u16,
}
Fields§
§local: u16
§public: u16
Implementations§
Trait Implementations§
source§impl Clone for PortMapping
impl Clone for PortMapping
source§fn clone(&self) -> PortMapping
fn clone(&self) -> PortMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PortMapping
impl Debug for PortMapping
Auto Trait Implementations§
impl Freeze for PortMapping
impl RefUnwindSafe for PortMapping
impl Send for PortMapping
impl Sync for PortMapping
impl Unpin for PortMapping
impl UnwindSafe for PortMapping
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