pub struct NatPool {
pub name: String,
pub start: IpAddr,
pub end: IpAddr,
pub prefix: Option<IpNet>,
pub overload: bool,
}Expand description
An ip nat pool <name> … definition.
Fields§
§name: String§start: IpAddr§end: IpAddr§prefix: Option<IpNet>Network prefix if prefix-length was specified.
overload: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for NatPool
impl<'de> Deserialize<'de> for NatPool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NatPool
impl RefUnwindSafe for NatPool
impl Send for NatPool
impl Sync for NatPool
impl Unpin for NatPool
impl UnsafeUnpin for NatPool
impl UnwindSafe for NatPool
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