Struct aws_sdk_ec2::types::InstanceStatusSummary
source · #[non_exhaustive]pub struct InstanceStatusSummary {
pub details: Option<Vec<InstanceStatusDetails>>,
pub status: Option<SummaryStatus>,
}
Expand description
Describes the status of an instance.
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.details: Option<Vec<InstanceStatusDetails>>
The system instance health or application instance health.
status: Option<SummaryStatus>
The status.
Implementations§
source§impl InstanceStatusSummary
impl InstanceStatusSummary
sourcepub fn details(&self) -> Option<&[InstanceStatusDetails]>
pub fn details(&self) -> Option<&[InstanceStatusDetails]>
The system instance health or application instance health.
sourcepub fn status(&self) -> Option<&SummaryStatus>
pub fn status(&self) -> Option<&SummaryStatus>
The status.
source§impl InstanceStatusSummary
impl InstanceStatusSummary
sourcepub fn builder() -> InstanceStatusSummaryBuilder
pub fn builder() -> InstanceStatusSummaryBuilder
Creates a new builder-style object to manufacture InstanceStatusSummary
.
Trait Implementations§
source§impl Clone for InstanceStatusSummary
impl Clone for InstanceStatusSummary
source§fn clone(&self) -> InstanceStatusSummary
fn clone(&self) -> InstanceStatusSummary
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 InstanceStatusSummary
impl Debug for InstanceStatusSummary
source§impl PartialEq<InstanceStatusSummary> for InstanceStatusSummary
impl PartialEq<InstanceStatusSummary> for InstanceStatusSummary
source§fn eq(&self, other: &InstanceStatusSummary) -> bool
fn eq(&self, other: &InstanceStatusSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceStatusSummary
Auto Trait Implementations§
impl RefUnwindSafe for InstanceStatusSummary
impl Send for InstanceStatusSummary
impl Sync for InstanceStatusSummary
impl Unpin for InstanceStatusSummary
impl UnwindSafe for InstanceStatusSummary
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