Struct google_compute1::AliasIpRange
source · pub struct AliasIpRange {
pub subnetwork_range_name: Option<String>,
pub ip_cidr_range: 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§
§subnetwork_range_name: Option<String>Optional subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
ip_cidr_range: Option<String>The IP CIDR range represented by this alias IP range. 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 (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24).
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 Freeze for AliasIpRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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