pub struct VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings {
pub drain_nat_ip_port_ranges: Option<Vec<String>>,
pub nat_ip_port_ranges: Option<Vec<String>>,
pub num_total_drain_nat_ports: Option<i32>,
pub num_total_nat_ports: Option<i32>,
pub rule_number: Option<i32>,
}Expand description
Contains information of NAT Mappings provided by a NAT Rule.
This type is not used in any activity, and only used as part of another schema.
Fields§
§drain_nat_ip_port_ranges: Option<Vec<String>>List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [“2.2.2.2:12345-12355”, “1.1.1.1:2234-2234”].
nat_ip_port_ranges: Option<Vec<String>>A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [“2.2.2.2:12345-12355”, “1.1.1.1:2234-2234”].
num_total_drain_nat_ports: Option<i32>Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.
num_total_nat_ports: Option<i32>Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.
rule_number: Option<i32>Rule number of the NAT Rule.
Trait Implementations§
Source§impl Clone for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Clone for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
Source§fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Default for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
Source§fn default() -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
fn default() -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
Source§impl<'de> Deserialize<'de> for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl<'de> Deserialize<'de> for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
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>,
impl Part for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
Auto Trait Implementations§
impl Freeze for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl RefUnwindSafe for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Send for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Sync for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Unpin for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl UnwindSafe for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more