Struct aws_sdk_ecs::types::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
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.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§
source§impl 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.
source§impl InstanceHealthCheckResult
impl InstanceHealthCheckResult
sourcepub fn builder() -> InstanceHealthCheckResultBuilder
pub fn builder() -> InstanceHealthCheckResultBuilder
Creates a new builder-style object to manufacture InstanceHealthCheckResult
.
Trait Implementations§
source§impl Clone for InstanceHealthCheckResult
impl Clone for InstanceHealthCheckResult
source§fn clone(&self) -> InstanceHealthCheckResult
fn clone(&self) -> InstanceHealthCheckResult
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 InstanceHealthCheckResult
impl Debug for InstanceHealthCheckResult
source§impl PartialEq for InstanceHealthCheckResult
impl PartialEq for InstanceHealthCheckResult
source§fn 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 ==
.impl StructuralPartialEq for InstanceHealthCheckResult
Auto Trait Implementations§
impl Freeze for InstanceHealthCheckResult
impl RefUnwindSafe for InstanceHealthCheckResult
impl Send for InstanceHealthCheckResult
impl Sync for InstanceHealthCheckResult
impl Unpin for InstanceHealthCheckResult
impl UnwindSafe for InstanceHealthCheckResult
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.