Struct aws_sdk_ec2::model::InstanceNetworkInterface [−][src]
#[non_exhaustive]pub struct InstanceNetworkInterface {Show 18 fields
pub association: Option<InstanceNetworkInterfaceAssociation>,
pub attachment: Option<InstanceNetworkInterfaceAttachment>,
pub description: Option<String>,
pub groups: Option<Vec<GroupIdentifier>>,
pub ipv6_addresses: Option<Vec<InstanceIpv6Address>>,
pub mac_address: Option<String>,
pub network_interface_id: Option<String>,
pub owner_id: Option<String>,
pub private_dns_name: Option<String>,
pub private_ip_address: Option<String>,
pub private_ip_addresses: Option<Vec<InstancePrivateIpAddress>>,
pub source_dest_check: Option<bool>,
pub status: Option<NetworkInterfaceStatus>,
pub subnet_id: Option<String>,
pub vpc_id: Option<String>,
pub interface_type: Option<String>,
pub ipv4_prefixes: Option<Vec<InstanceIpv4Prefix>>,
pub ipv6_prefixes: Option<Vec<InstanceIpv6Prefix>>,
}
Expand description
Describes a network interface.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.association: Option<InstanceNetworkInterfaceAssociation>
The association information for an Elastic IPv4 associated with the network interface.
attachment: Option<InstanceNetworkInterfaceAttachment>
The network interface attachment.
description: Option<String>
The description.
groups: Option<Vec<GroupIdentifier>>
One or more security groups.
ipv6_addresses: Option<Vec<InstanceIpv6Address>>
One or more IPv6 addresses associated with the network interface.
mac_address: Option<String>
The MAC address.
network_interface_id: Option<String>
The ID of the network interface.
owner_id: Option<String>
The ID of the Amazon Web Services account that created the network interface.
private_dns_name: Option<String>
The private DNS name.
private_ip_address: Option<String>
The IPv4 address of the network interface within the subnet.
private_ip_addresses: Option<Vec<InstancePrivateIpAddress>>
One or more private IPv4 addresses associated with the network interface.
source_dest_check: Option<bool>
Indicates whether source/destination checking is enabled.
status: Option<NetworkInterfaceStatus>
The status of the network interface.
subnet_id: Option<String>
The ID of the subnet.
vpc_id: Option<String>
The ID of the VPC.
interface_type: Option<String>
Describes the type of network interface.
Valid values: interface
| efa
| trunk
ipv4_prefixes: Option<Vec<InstanceIpv4Prefix>>
The IPv4 delegated prefixes that are assigned to the network interface.
ipv6_prefixes: Option<Vec<InstanceIpv6Prefix>>
The IPv6 delegated prefixes that are assigned to the network interface.
Implementations
The association information for an Elastic IPv4 associated with the network interface.
The network interface attachment.
The description.
One or more IPv6 addresses associated with the network interface.
The MAC address.
The ID of the network interface.
The ID of the Amazon Web Services account that created the network interface.
The private DNS name.
The IPv4 address of the network interface within the subnet.
One or more private IPv4 addresses associated with the network interface.
Indicates whether source/destination checking is enabled.
The status of the network interface.
Describes the type of network interface.
Valid values: interface
| efa
| trunk
The IPv4 delegated prefixes that are assigned to the network interface.
The IPv6 delegated prefixes that are assigned to the network interface.
Creates a new builder-style object to manufacture InstanceNetworkInterface
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstanceNetworkInterface
impl Send for InstanceNetworkInterface
impl Sync for InstanceNetworkInterface
impl Unpin for InstanceNetworkInterface
impl UnwindSafe for InstanceNetworkInterface
Blanket Implementations
Mutably borrows from an owned value. Read more
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