#[non_exhaustive]pub struct AwsEc2NetworkInterfaceDetails {
pub attachment: Option<AwsEc2NetworkInterfaceAttachment>,
pub network_interface_id: Option<String>,
pub security_groups: Option<Vec<AwsEc2NetworkInterfaceSecurityGroup>>,
pub source_dest_check: bool,
pub ip_v6_addresses: Option<Vec<AwsEc2NetworkInterfaceIpV6AddressDetail>>,
pub private_ip_addresses: Option<Vec<AwsEc2NetworkInterfacePrivateIpAddressDetail>>,
pub public_dns_name: Option<String>,
pub public_ip: Option<String>,
}
Expand description
Details about the 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.attachment: Option<AwsEc2NetworkInterfaceAttachment>
The network interface attachment.
network_interface_id: Option<String>
The ID of the network interface.
security_groups: Option<Vec<AwsEc2NetworkInterfaceSecurityGroup>>
Security groups for the network interface.
source_dest_check: bool
Indicates whether traffic to or from the instance is validated.
ip_v6_addresses: Option<Vec<AwsEc2NetworkInterfaceIpV6AddressDetail>>
The IPv6 addresses associated with the network interface.
private_ip_addresses: Option<Vec<AwsEc2NetworkInterfacePrivateIpAddressDetail>>
The private IPv4 addresses associated with the network interface.
public_dns_name: Option<String>
The public DNS name of the network interface.
public_ip: Option<String>
The address of the Elastic IP address bound to the network interface.
Implementations
sourceimpl AwsEc2NetworkInterfaceDetails
impl AwsEc2NetworkInterfaceDetails
sourcepub fn attachment(&self) -> Option<&AwsEc2NetworkInterfaceAttachment>
pub fn attachment(&self) -> Option<&AwsEc2NetworkInterfaceAttachment>
The network interface attachment.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn security_groups(&self) -> Option<&[AwsEc2NetworkInterfaceSecurityGroup]>
pub fn security_groups(&self) -> Option<&[AwsEc2NetworkInterfaceSecurityGroup]>
Security groups for the network interface.
sourcepub fn source_dest_check(&self) -> bool
pub fn source_dest_check(&self) -> bool
Indicates whether traffic to or from the instance is validated.
sourcepub fn ip_v6_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfaceIpV6AddressDetail]>
pub fn ip_v6_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfaceIpV6AddressDetail]>
The IPv6 addresses associated with the network interface.
sourcepub fn private_ip_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfacePrivateIpAddressDetail]>
pub fn private_ip_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfacePrivateIpAddressDetail]>
The private IPv4 addresses associated with the network interface.
sourcepub fn public_dns_name(&self) -> Option<&str>
pub fn public_dns_name(&self) -> Option<&str>
The public DNS name of the network interface.
sourceimpl AwsEc2NetworkInterfaceDetails
impl AwsEc2NetworkInterfaceDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2NetworkInterfaceDetails
Trait Implementations
sourceimpl Clone for AwsEc2NetworkInterfaceDetails
impl Clone for AwsEc2NetworkInterfaceDetails
sourcefn clone(&self) -> AwsEc2NetworkInterfaceDetails
fn clone(&self) -> AwsEc2NetworkInterfaceDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsEc2NetworkInterfaceDetails
impl Debug for AwsEc2NetworkInterfaceDetails
sourceimpl PartialEq<AwsEc2NetworkInterfaceDetails> for AwsEc2NetworkInterfaceDetails
impl PartialEq<AwsEc2NetworkInterfaceDetails> for AwsEc2NetworkInterfaceDetails
sourcefn eq(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
fn eq(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
fn ne(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsEc2NetworkInterfaceDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2NetworkInterfaceDetails
impl Send for AwsEc2NetworkInterfaceDetails
impl Sync for AwsEc2NetworkInterfaceDetails
impl Unpin for AwsEc2NetworkInterfaceDetails
impl UnwindSafe for AwsEc2NetworkInterfaceDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more