#[non_exhaustive]pub struct TargetHealthDescription { /* private fields */ }
Expand description
Information about the health of a target.
Implementations§
source§impl TargetHealthDescription
impl TargetHealthDescription
sourcepub fn target(&self) -> Option<&TargetDescription>
pub fn target(&self) -> Option<&TargetDescription>
The description of the target.
sourcepub fn health_check_port(&self) -> Option<&str>
pub fn health_check_port(&self) -> Option<&str>
The port to use to connect with the target.
sourcepub fn target_health(&self) -> Option<&TargetHealth>
pub fn target_health(&self) -> Option<&TargetHealth>
The health information for the target.
source§impl TargetHealthDescription
impl TargetHealthDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetHealthDescription
.
Trait Implementations§
source§impl Clone for TargetHealthDescription
impl Clone for TargetHealthDescription
source§fn clone(&self) -> TargetHealthDescription
fn clone(&self) -> TargetHealthDescription
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 TargetHealthDescription
impl Debug for TargetHealthDescription
source§impl PartialEq<TargetHealthDescription> for TargetHealthDescription
impl PartialEq<TargetHealthDescription> for TargetHealthDescription
source§fn eq(&self, other: &TargetHealthDescription) -> bool
fn eq(&self, other: &TargetHealthDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.