pub struct NetworkInterfaceCreate {
pub name: String,
pub description: String,
pub ip: String,
pub subnet_name: String,
pub vpc_name: String,
}
Expand description
Create-time parameters for a NetworkInterface
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
§ip: String
The IP address for the interface. One will be auto-assigned if not provided.
subnet_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.
vpc_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.
Trait Implementations§
Source§impl Clone for NetworkInterfaceCreate
impl Clone for NetworkInterfaceCreate
Source§fn clone(&self) -> NetworkInterfaceCreate
fn clone(&self) -> NetworkInterfaceCreate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for NetworkInterfaceCreate
impl Debug for NetworkInterfaceCreate
Source§impl Default for NetworkInterfaceCreate
impl Default for NetworkInterfaceCreate
Source§fn default() -> NetworkInterfaceCreate
fn default() -> NetworkInterfaceCreate
Source§impl<'de> Deserialize<'de> for NetworkInterfaceCreate
impl<'de> Deserialize<'de> for NetworkInterfaceCreate
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 JsonSchema for NetworkInterfaceCreate
impl JsonSchema for NetworkInterfaceCreate
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more