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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[GroupIdentifier]>
pub fn groups(&self) -> Option<&[GroupIdentifier]>
The security groups associated with the network interface.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<DescribeNetworkInterfaceAttributeOutput> for DescribeNetworkInterfaceAttributeOutput
impl PartialEq<DescribeNetworkInterfaceAttributeOutput> for DescribeNetworkInterfaceAttributeOutput
source§fn eq(&self, other: &DescribeNetworkInterfaceAttributeOutput) -> bool
fn eq(&self, other: &DescribeNetworkInterfaceAttributeOutput) -> bool
This method tests for
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>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for DescribeNetworkInterfaceAttributeOutput
Auto Trait Implementations§
impl RefUnwindSafe for DescribeNetworkInterfaceAttributeOutput
impl Send for DescribeNetworkInterfaceAttributeOutput
impl Sync for DescribeNetworkInterfaceAttributeOutput
impl Unpin for DescribeNetworkInterfaceAttributeOutput
impl UnwindSafe for DescribeNetworkInterfaceAttributeOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more