[][src]Struct google_compute1::VmEndpointNatMappingsInterfaceNatMappings

pub struct VmEndpointNatMappingsInterfaceNatMappings {
    pub source_virtual_ip: Option<String>,
    pub num_total_nat_ports: Option<i32>,
    pub nat_ip_port_ranges: Option<Vec<String>>,
    pub source_alias_ip_range: Option<String>,
}

Contain information of Nat mapping for an interface of this endpoint.

This type is not used in any activity, and only used as part of another schema.

Fields

source_virtual_ip: Option<String>

Primary IP of the VM for this NIC.

num_total_nat_ports: Option<i32>

Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.

nat_ip_port_ranges: Option<Vec<String>>

A list of all IP:port-range mappings assigned to this interface. 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"].

source_alias_ip_range: Option<String>

Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".

Trait Implementations

impl Part for VmEndpointNatMappingsInterfaceNatMappings[src]

impl Default for VmEndpointNatMappingsInterfaceNatMappings[src]

impl Clone for VmEndpointNatMappingsInterfaceNatMappings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VmEndpointNatMappingsInterfaceNatMappings[src]

impl Serialize for VmEndpointNatMappingsInterfaceNatMappings[src]

impl<'de> Deserialize<'de> for VmEndpointNatMappingsInterfaceNatMappings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]