Struct aws_sdk_ecs::types::ManagedAgentStateChange
source · #[non_exhaustive]pub struct ManagedAgentStateChange {
pub container_name: String,
pub managed_agent_name: ManagedAgentName,
pub status: String,
pub reason: Option<String>,
}
Expand description
An object representing a change in state for a managed agent.
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.container_name: String
The name of the container that's associated with the managed agent.
managed_agent_name: ManagedAgentName
The name of the managed agent.
status: String
The status of the managed agent.
reason: Option<String>
The reason for the status of the managed agent.
Implementations§
source§impl ManagedAgentStateChange
impl ManagedAgentStateChange
sourcepub fn container_name(&self) -> &str
pub fn container_name(&self) -> &str
The name of the container that's associated with the managed agent.
sourcepub fn managed_agent_name(&self) -> &ManagedAgentName
pub fn managed_agent_name(&self) -> &ManagedAgentName
The name of the managed agent.
source§impl ManagedAgentStateChange
impl ManagedAgentStateChange
sourcepub fn builder() -> ManagedAgentStateChangeBuilder
pub fn builder() -> ManagedAgentStateChangeBuilder
Creates a new builder-style object to manufacture ManagedAgentStateChange
.
Trait Implementations§
source§impl Clone for ManagedAgentStateChange
impl Clone for ManagedAgentStateChange
source§fn clone(&self) -> ManagedAgentStateChange
fn clone(&self) -> ManagedAgentStateChange
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 ManagedAgentStateChange
impl Debug for ManagedAgentStateChange
source§impl PartialEq for ManagedAgentStateChange
impl PartialEq for ManagedAgentStateChange
source§fn eq(&self, other: &ManagedAgentStateChange) -> bool
fn eq(&self, other: &ManagedAgentStateChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedAgentStateChange
Auto Trait Implementations§
impl RefUnwindSafe for ManagedAgentStateChange
impl Send for ManagedAgentStateChange
impl Sync for ManagedAgentStateChange
impl Unpin for ManagedAgentStateChange
impl UnwindSafe for ManagedAgentStateChange
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.