pub struct AwsEc2NetworkInterfaceAttachment {
pub attach_time: Option<String>,
pub attachment_id: Option<String>,
pub delete_on_termination: Option<bool>,
pub device_index: Option<i64>,
pub instance_id: Option<String>,
pub instance_owner_id: Option<String>,
pub status: Option<String>,
}
Expand description
Information about the network interface attachment.
Fields§
§attach_time: Option<String>
The timestamp indicating when the attachment initiated.
attachment_id: Option<String>
The identifier of the network interface attachment
delete_on_termination: Option<bool>
Indicates whether the network interface is deleted when the instance is terminated.
device_index: Option<i64>
The device index of the network interface attachment on the instance.
instance_id: Option<String>
The ID of the instance.
instance_owner_id: Option<String>
The AWS account ID of the owner of the instance.
status: Option<String>
The attachment state.
Valid values: attaching
| attached
| detaching
| detached
Trait Implementations§
Source§impl Clone for AwsEc2NetworkInterfaceAttachment
impl Clone for AwsEc2NetworkInterfaceAttachment
Source§fn clone(&self) -> AwsEc2NetworkInterfaceAttachment
fn clone(&self) -> AwsEc2NetworkInterfaceAttachment
Returns a duplicate 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 Default for AwsEc2NetworkInterfaceAttachment
impl Default for AwsEc2NetworkInterfaceAttachment
Source§fn default() -> AwsEc2NetworkInterfaceAttachment
fn default() -> AwsEc2NetworkInterfaceAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEc2NetworkInterfaceAttachment
impl<'de> Deserialize<'de> for AwsEc2NetworkInterfaceAttachment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsEc2NetworkInterfaceAttachment
impl PartialEq for AwsEc2NetworkInterfaceAttachment
Source§fn eq(&self, other: &AwsEc2NetworkInterfaceAttachment) -> bool
fn eq(&self, other: &AwsEc2NetworkInterfaceAttachment) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsEc2NetworkInterfaceAttachment
Auto Trait Implementations§
impl Freeze for AwsEc2NetworkInterfaceAttachment
impl RefUnwindSafe for AwsEc2NetworkInterfaceAttachment
impl Send for AwsEc2NetworkInterfaceAttachment
impl Sync for AwsEc2NetworkInterfaceAttachment
impl Unpin for AwsEc2NetworkInterfaceAttachment
impl UnwindSafe for AwsEc2NetworkInterfaceAttachment
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