pub struct NetworkInterface {
pub id: String,
pub name: String,
pub description: String,
pub instance_id: String,
pub ip: String,
pub mac: String,
pub primary: bool,
pub subnet_id: String,
pub time_created: DisplayOptionDateTime,
pub time_modified: DisplayOptionDateTime,
pub vpc_id: String,
}Expand description
A NetworkInterface represents a virtual network interface device.
Fields§
§id: Stringunique, immutable, system-controlled identifier for each resource
name: StringNames 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: Stringhuman-readable free-form text about a resource
instance_id: StringThe Instance to which the interface belongs.
ip: StringThe IP address assigned to this interface.
mac: StringA Media Access Control address, in EUI-48 format
primary: boolTrue if this interface is the primary for the instance to which it’s attached.
subnet_id: StringThe subnet to which the interface belongs.
time_created: DisplayOptionDateTimetimestamp when this resource was created
time_modified: DisplayOptionDateTimetimestamp when this resource was last modified
vpc_id: StringThe VPC to which the interface belongs.
Trait Implementations§
Source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
Source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NetworkInterface
impl Debug for NetworkInterface
Source§impl Default for NetworkInterface
impl Default for NetworkInterface
Source§fn default() -> NetworkInterface
fn default() -> NetworkInterface
Source§impl<'de> Deserialize<'de> for NetworkInterface
impl<'de> Deserialize<'de> for NetworkInterface
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 NetworkInterface
impl JsonSchema for NetworkInterface
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