pub struct VpcSubnetCreate {
pub name: String,
pub description: String,
pub ipv4_block: String,
pub ipv6_block: String,
}
Expand description
Create-time parameters for a VpcSubnet
Fields§
§name: String
Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and ‘-’, and may not end with a ‘-’. Names cannot be a UUID though they may contain a UUID.
description: String
§ipv4_block: String
An IPv4 subnet, including prefix and subnet mask
ipv6_block: String
The IPv6 address range for this subnet.
It must be allocated from the RFC 4193 Unique Local Address range, with the prefix equal to the parent VPC’s prefix. A random /64
block will be assigned if one is not provided. It must not overlap with any existing subnet in the VPC.
Trait Implementations§
Source§impl Clone for VpcSubnetCreate
impl Clone for VpcSubnetCreate
Source§fn clone(&self) -> VpcSubnetCreate
fn clone(&self) -> VpcSubnetCreate
Returns a duplicate 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 VpcSubnetCreate
impl Debug for VpcSubnetCreate
Source§impl Default for VpcSubnetCreate
impl Default for VpcSubnetCreate
Source§fn default() -> VpcSubnetCreate
fn default() -> VpcSubnetCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpcSubnetCreate
impl<'de> Deserialize<'de> for VpcSubnetCreate
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 JsonSchema for VpcSubnetCreate
impl JsonSchema for VpcSubnetCreate
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for VpcSubnetCreate
impl PartialEq for VpcSubnetCreate
Source§impl Serialize for VpcSubnetCreate
impl Serialize for VpcSubnetCreate
Source§impl Tabled for VpcSubnetCreate
impl Tabled for VpcSubnetCreate
impl StructuralPartialEq for VpcSubnetCreate
Auto Trait Implementations§
impl Freeze for VpcSubnetCreate
impl RefUnwindSafe for VpcSubnetCreate
impl Send for VpcSubnetCreate
impl Sync for VpcSubnetCreate
impl Unpin for VpcSubnetCreate
impl UnwindSafe for VpcSubnetCreate
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