pub struct Dnat {
pub on_server: String,
pub port: u16,
pub to_address: String,
pub to_port: u16,
}Expand description
One destination-NAT rule, as the front holds for the forge.
Fields§
§on_server: StringThe server whose PUBLIC address carries the rule.
port: u16§to_address: StringThe address it is forwarded to.
to_port: u16Trait Implementations§
impl Eq for Dnat
impl StructuralPartialEq for Dnat
Auto Trait Implementations§
impl Freeze for Dnat
impl RefUnwindSafe for Dnat
impl Send for Dnat
impl Sync for Dnat
impl Unpin for Dnat
impl UnsafeUnpin for Dnat
impl UnwindSafe for Dnat
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