pub struct VpcSubNetwork {
pub network: Option<String>,
pub vpc_ip_subnetworks: Option<Vec<String>>,
}
Expand description
Sub-segment ranges inside of a VPC Network.
This type is not used in any activity, and only used as part of another schema.
Fields§
§network: Option<String>
Required. Network name. If the network is not part of the organization, the compute.network.get
permission must be granted to the caller. Format: //compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
Example: //compute.googleapis.com/projects/my-project/global/networks/network-1
vpc_ip_subnetworks: Option<Vec<String>>
CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, “192.0.2.0/24” is accepted but “192.0.2.1/24” is not. If empty, all IP addresses are allowed.
Trait Implementations§
Source§impl Clone for VpcSubNetwork
impl Clone for VpcSubNetwork
Source§fn clone(&self) -> VpcSubNetwork
fn clone(&self) -> VpcSubNetwork
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VpcSubNetwork
impl Debug for VpcSubNetwork
Source§impl Default for VpcSubNetwork
impl Default for VpcSubNetwork
Source§fn default() -> VpcSubNetwork
fn default() -> VpcSubNetwork
Source§impl<'de> Deserialize<'de> for VpcSubNetwork
impl<'de> Deserialize<'de> for VpcSubNetwork
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>,
Source§impl Serialize for VpcSubNetwork
impl Serialize for VpcSubNetwork
impl Part for VpcSubNetwork
Auto Trait Implementations§
impl Freeze for VpcSubNetwork
impl RefUnwindSafe for VpcSubNetwork
impl Send for VpcSubNetwork
impl Sync for VpcSubNetwork
impl Unpin for VpcSubNetwork
impl UnwindSafe for VpcSubNetwork
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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