Struct aws_sdk_ecs::types::Attachment
source · #[non_exhaustive]pub struct Attachment { /* private fields */ }Expand description
An object representing a container instance or task attachment.
Implementations§
source§impl Attachment
impl Attachment
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of the attachment, such as ElasticNetworkInterface.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.
sourcepub fn details(&self) -> Option<&[KeyValuePair]>
pub fn details(&self) -> Option<&[KeyValuePair]>
Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.
source§impl Attachment
impl Attachment
sourcepub fn builder() -> AttachmentBuilder
pub fn builder() -> AttachmentBuilder
Creates a new builder-style object to manufacture Attachment.
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
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 Debug for Attachment
impl Debug for Attachment
source§impl PartialEq<Attachment> for Attachment
impl PartialEq<Attachment> for Attachment
source§fn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Attachment
Auto Trait Implementations§
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
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