#[non_exhaustive]
pub struct NetworkInterface { /* private fields */ }
Expand description

Describes a network interface.

Implementations

The association information for an Elastic IP address (IPv4) associated with the network interface.

The network interface attachment.

The Availability Zone.

A description.

Any security groups for the network interface.

The type of network interface.

The IPv6 addresses associated with the network interface.

The MAC address.

The ID of the network interface.

The Amazon Resource Name (ARN) of the Outpost.

The Amazon Web Services account ID of the owner of the network interface.

The private DNS name.

The IPv4 address of the network interface within the subnet.

The private IPv4 addresses associated with the network interface.

The IPv4 prefixes that are assigned to the network interface.

The IPv6 prefixes that are assigned to the network interface.

The alias or Amazon Web Services account ID of the principal or service that created the network interface.

Indicates whether the network interface is being managed by Amazon Web Services.

Indicates whether source/destination checking is enabled.

The status of the network interface.

The ID of the subnet.

Any tags assigned to the network interface.

The ID of the VPC.

Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.

Indicates whether this is an IPv6 only network interface.

The IPv6 globally unique address associated with the network interface.

Creates a new builder-style object to manufacture NetworkInterface.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more