pub struct VpcPeeringsCreateBody {
pub name: VpcPeeringsCreateBodyName,
pub vpc_ids: [Uuid; 2],
}Expand description
VpcPeeringsCreateBody
JSON schema
{
"type": "object",
"allOf": [
{
"type": "object",
"properties": {
"name": {
"description": "The name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes.",
"examples": [
"nyc1-blr1-peering"
],
"type": "string",
"pattern": "^[a-zA-Z0-9\\-]+$"
}
}
},
{
"type": "object",
"properties": {
"vpc_ids": {
"description": "An array of the two peered VPCs IDs.",
"examples": [
[
"c140286f-e6ce-4131-8b7b-df4590ce8d6a",
"994a2735-dc84-11e8-80bc-3cfdfea9fba1"
]
],
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 2,
"minItems": 2
}
}
}
],
"required": [
"name",
"vpc_ids"
]
}Fields§
§name: VpcPeeringsCreateBodyNameThe name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes.
vpc_ids: [Uuid; 2]An array of the two peered VPCs IDs.
Trait Implementations§
Source§impl Clone for VpcPeeringsCreateBody
impl Clone for VpcPeeringsCreateBody
Source§fn clone(&self) -> VpcPeeringsCreateBody
fn clone(&self) -> VpcPeeringsCreateBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VpcPeeringsCreateBody
impl Debug for VpcPeeringsCreateBody
Source§impl<'de> Deserialize<'de> for VpcPeeringsCreateBody
impl<'de> Deserialize<'de> for VpcPeeringsCreateBody
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 From<&VpcPeeringsCreateBody> for VpcPeeringsCreateBody
impl From<&VpcPeeringsCreateBody> for VpcPeeringsCreateBody
Source§fn from(value: &VpcPeeringsCreateBody) -> Self
fn from(value: &VpcPeeringsCreateBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VpcPeeringsCreateBody
impl RefUnwindSafe for VpcPeeringsCreateBody
impl Send for VpcPeeringsCreateBody
impl Sync for VpcPeeringsCreateBody
impl Unpin for VpcPeeringsCreateBody
impl UnsafeUnpin for VpcPeeringsCreateBody
impl UnwindSafe for VpcPeeringsCreateBody
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