Struct aws_sdk_ecs::model::InstanceHealthCheckResult
source · [−]#[non_exhaustive]pub struct InstanceHealthCheckResult {
pub type: Option<InstanceHealthCheckType>,
pub status: Option<InstanceHealthCheckState>,
pub last_updated: Option<DateTime>,
pub last_status_change: Option<DateTime>,
}
Expand description
An object representing the result of a container instance health status check.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<InstanceHealthCheckType>
The type of container instance health status that was verified.
status: Option<InstanceHealthCheckState>
The container instance health status.
last_updated: Option<DateTime>
The Unix timestamp for when the container instance health status was last updated.
last_status_change: Option<DateTime>
The Unix timestamp for when the container instance health status last changed.
Implementations
sourceimpl InstanceHealthCheckResult
impl InstanceHealthCheckResult
sourcepub fn type(&self) -> Option<&InstanceHealthCheckType>
pub fn type(&self) -> Option<&InstanceHealthCheckType>
The type of container instance health status that was verified.
sourcepub fn status(&self) -> Option<&InstanceHealthCheckState>
pub fn status(&self) -> Option<&InstanceHealthCheckState>
The container instance health status.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The Unix timestamp for when the container instance health status was last updated.
sourcepub fn last_status_change(&self) -> Option<&DateTime>
pub fn last_status_change(&self) -> Option<&DateTime>
The Unix timestamp for when the container instance health status last changed.
sourceimpl InstanceHealthCheckResult
impl InstanceHealthCheckResult
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceHealthCheckResult
Trait Implementations
sourceimpl Clone for InstanceHealthCheckResult
impl Clone for InstanceHealthCheckResult
sourcefn clone(&self) -> InstanceHealthCheckResult
fn clone(&self) -> InstanceHealthCheckResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceHealthCheckResult
impl Debug for InstanceHealthCheckResult
sourceimpl PartialEq<InstanceHealthCheckResult> for InstanceHealthCheckResult
impl PartialEq<InstanceHealthCheckResult> for InstanceHealthCheckResult
sourcefn eq(&self, other: &InstanceHealthCheckResult) -> bool
fn eq(&self, other: &InstanceHealthCheckResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceHealthCheckResult) -> bool
fn ne(&self, other: &InstanceHealthCheckResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceHealthCheckResult
Auto Trait Implementations
impl RefUnwindSafe for InstanceHealthCheckResult
impl Send for InstanceHealthCheckResult
impl Sync for InstanceHealthCheckResult
impl Unpin for InstanceHealthCheckResult
impl UnwindSafe for InstanceHealthCheckResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more