pub struct Nat {
pub nat_type: NatType,
pub family: ProtoFamily,
pub ip_register: Register,
pub port_register: Option<Register>,
}Expand description
A source or destination NAT statement. Modifies the source or destination address (and possibly port) of packets.
Fields§
§nat_type: NatType§family: ProtoFamily§ip_register: Register§port_register: Option<Register>Trait Implementations§
Source§impl Expression for Nat
impl Expression for Nat
Auto Trait Implementations§
impl Freeze for Nat
impl RefUnwindSafe for Nat
impl Send for Nat
impl Sync for Nat
impl Unpin for Nat
impl UnsafeUnpin for Nat
impl UnwindSafe for Nat
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