Struct aws_sdk_ecs::types::ManagedAgent
source · #[non_exhaustive]pub struct ManagedAgent {
pub last_started_at: Option<DateTime>,
pub name: Option<ManagedAgentName>,
pub reason: Option<String>,
pub last_status: Option<String>,
}
Expand description
Details about the managed agent status for the container.
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.last_started_at: Option<DateTime>
The Unix timestamp for the time when the managed agent was last started.
name: Option<ManagedAgentName>
The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent
.
reason: Option<String>
The reason for why the managed agent is in the state it is in.
last_status: Option<String>
The last known status of the managed agent.
Implementations§
source§impl ManagedAgent
impl ManagedAgent
sourcepub fn last_started_at(&self) -> Option<&DateTime>
pub fn last_started_at(&self) -> Option<&DateTime>
The Unix timestamp for the time when the managed agent was last started.
sourcepub fn name(&self) -> Option<&ManagedAgentName>
pub fn name(&self) -> Option<&ManagedAgentName>
The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent
.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
The reason for why the managed agent is in the state it is in.
sourcepub fn last_status(&self) -> Option<&str>
pub fn last_status(&self) -> Option<&str>
The last known status of the managed agent.
source§impl ManagedAgent
impl ManagedAgent
sourcepub fn builder() -> ManagedAgentBuilder
pub fn builder() -> ManagedAgentBuilder
Creates a new builder-style object to manufacture ManagedAgent
.
Trait Implementations§
source§impl Clone for ManagedAgent
impl Clone for ManagedAgent
source§fn clone(&self) -> ManagedAgent
fn clone(&self) -> ManagedAgent
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 ManagedAgent
impl Debug for ManagedAgent
source§impl PartialEq for ManagedAgent
impl PartialEq for ManagedAgent
source§fn eq(&self, other: &ManagedAgent) -> bool
fn eq(&self, other: &ManagedAgent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedAgent
Auto Trait Implementations§
impl RefUnwindSafe for ManagedAgent
impl Send for ManagedAgent
impl Sync for ManagedAgent
impl Unpin for ManagedAgent
impl UnwindSafe for ManagedAgent
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.