Struct aws_sdk_ec2::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput
source · #[non_exhaustive]pub struct DescribeNetworkInterfaceAttributeOutput {
pub attachment: Option<NetworkInterfaceAttachment>,
pub description: Option<AttributeValue>,
pub groups: Option<Vec<GroupIdentifier>>,
pub network_interface_id: Option<String>,
pub source_dest_check: Option<AttributeBooleanValue>,
/* private fields */
}
Expand description
Contains the output of DescribeNetworkInterfaceAttribute.
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<NetworkInterfaceAttachment>
The attachment (if any) of the network interface.
description: Option<AttributeValue>
The description of the network interface.
groups: Option<Vec<GroupIdentifier>>
The security groups associated with the network interface.
network_interface_id: Option<String>
The ID of the network interface.
source_dest_check: Option<AttributeBooleanValue>
Indicates whether source/destination checking is enabled.
Implementations§
source§impl DescribeNetworkInterfaceAttributeOutput
impl DescribeNetworkInterfaceAttributeOutput
sourcepub fn attachment(&self) -> Option<&NetworkInterfaceAttachment>
pub fn attachment(&self) -> Option<&NetworkInterfaceAttachment>
The attachment (if any) of the network interface.
sourcepub fn description(&self) -> Option<&AttributeValue>
pub fn description(&self) -> Option<&AttributeValue>
The description of the network interface.
sourcepub fn groups(&self) -> &[GroupIdentifier]
pub fn groups(&self) -> &[GroupIdentifier]
The security groups associated with the network interface.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .groups.is_none()
.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn source_dest_check(&self) -> Option<&AttributeBooleanValue>
pub fn source_dest_check(&self) -> Option<&AttributeBooleanValue>
Indicates whether source/destination checking is enabled.
source§impl DescribeNetworkInterfaceAttributeOutput
impl DescribeNetworkInterfaceAttributeOutput
sourcepub fn builder() -> DescribeNetworkInterfaceAttributeOutputBuilder
pub fn builder() -> DescribeNetworkInterfaceAttributeOutputBuilder
Creates a new builder-style object to manufacture DescribeNetworkInterfaceAttributeOutput
.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfaceAttributeOutput
impl Clone for DescribeNetworkInterfaceAttributeOutput
source§fn clone(&self) -> DescribeNetworkInterfaceAttributeOutput
fn clone(&self) -> DescribeNetworkInterfaceAttributeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeNetworkInterfaceAttributeOutput
impl PartialEq for DescribeNetworkInterfaceAttributeOutput
source§fn eq(&self, other: &DescribeNetworkInterfaceAttributeOutput) -> bool
fn eq(&self, other: &DescribeNetworkInterfaceAttributeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeNetworkInterfaceAttributeOutput
impl RequestId for DescribeNetworkInterfaceAttributeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.