[][src]Struct google_compute1::RouterNatSubnetworkToNat

pub struct RouterNatSubnetworkToNat {
    pub source_ip_ranges_to_nat: Option<Vec<String>>,
    pub secondary_ip_range_names: Option<Vec<String>>,
    pub name: Option<String>,
}

Defines the IP ranges that want to use NAT for a subnetwork.

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

Fields

source_ip_ranges_to_nat: Option<Vec<String>>

Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]

secondary_ip_range_names: Option<Vec<String>>

A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.

name: Option<String>

URL for the subnetwork resource that will use NAT.

Trait Implementations

impl Part for RouterNatSubnetworkToNat[src]

impl Default for RouterNatSubnetworkToNat[src]

impl Clone for RouterNatSubnetworkToNat[src]

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

Performs copy-assignment from source. Read more

impl Debug for RouterNatSubnetworkToNat[src]

impl Serialize for RouterNatSubnetworkToNat[src]

impl<'de> Deserialize<'de> for RouterNatSubnetworkToNat[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]