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<InstanceHealthCheckResult> for InstanceHealthCheckResult
impl PartialEq<InstanceHealthCheckResult> 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 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