Struct google_compute1::api::AliasIpRange
source · pub struct AliasIpRange {
pub ip_cidr_range: Option<String>,
pub subnetwork_range_name: Option<String>,
}
Expand description
An alias IP range attached to an instance’s network interface.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ip_cidr_range: Option<String>
The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24).
subnetwork_range_name: Option<String>
The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
Trait Implementations§
source§impl Clone for AliasIpRange
impl Clone for AliasIpRange
source§fn clone(&self) -> AliasIpRange
fn clone(&self) -> AliasIpRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AliasIpRange
impl Debug for AliasIpRange
source§impl Default for AliasIpRange
impl Default for AliasIpRange
source§fn default() -> AliasIpRange
fn default() -> AliasIpRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AliasIpRange
impl<'de> Deserialize<'de> for AliasIpRange
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
source§impl Serialize for AliasIpRange
impl Serialize for AliasIpRange
impl Part for AliasIpRange
Auto Trait Implementations§
impl RefUnwindSafe for AliasIpRange
impl Send for AliasIpRange
impl Sync for AliasIpRange
impl Unpin for AliasIpRange
impl UnwindSafe for AliasIpRange
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