Struct google_api_proto::google::cloud::compute::v1::SubnetworkSecondaryRange
source · pub struct SubnetworkSecondaryRange {
pub ip_cidr_range: Option<String>,
pub range_name: Option<String>,
pub reserved_internal_range: Option<String>,
}
Expand description
Represents a secondary IP range of a subnetwork.
Fields§
§ip_cidr_range: Option<String>
The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
range_name: Option<String>
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
reserved_internal_range: Option<String>
The URL of the reserved internal range.
Implementations§
source§impl SubnetworkSecondaryRange
impl SubnetworkSecondaryRange
sourcepub fn ip_cidr_range(&self) -> &str
pub fn ip_cidr_range(&self) -> &str
Returns the value of ip_cidr_range
, or the default value if ip_cidr_range
is unset.
sourcepub fn reserved_internal_range(&self) -> &str
pub fn reserved_internal_range(&self) -> &str
Returns the value of reserved_internal_range
, or the default value if reserved_internal_range
is unset.
sourcepub fn range_name(&self) -> &str
pub fn range_name(&self) -> &str
Returns the value of range_name
, or the default value if range_name
is unset.
Trait Implementations§
source§impl Clone for SubnetworkSecondaryRange
impl Clone for SubnetworkSecondaryRange
source§fn clone(&self) -> SubnetworkSecondaryRange
fn clone(&self) -> SubnetworkSecondaryRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubnetworkSecondaryRange
impl Debug for SubnetworkSecondaryRange
source§impl Default for SubnetworkSecondaryRange
impl Default for SubnetworkSecondaryRange
source§impl Message for SubnetworkSecondaryRange
impl Message for SubnetworkSecondaryRange
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SubnetworkSecondaryRange
impl PartialEq for SubnetworkSecondaryRange
source§fn eq(&self, other: &SubnetworkSecondaryRange) -> bool
fn eq(&self, other: &SubnetworkSecondaryRange) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubnetworkSecondaryRange
Auto Trait Implementations§
impl Freeze for SubnetworkSecondaryRange
impl RefUnwindSafe for SubnetworkSecondaryRange
impl Send for SubnetworkSecondaryRange
impl Sync for SubnetworkSecondaryRange
impl Unpin for SubnetworkSecondaryRange
impl UnwindSafe for SubnetworkSecondaryRange
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request