#[non_exhaustive]pub struct TargetHealthDescription { /* private fields */ }
Expand description
Information about the health of a target.
Implementations
sourceimpl 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.
sourceimpl TargetHealthDescription
impl TargetHealthDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetHealthDescription
.
Trait Implementations
sourceimpl Clone for TargetHealthDescription
impl Clone for TargetHealthDescription
sourcefn clone(&self) -> TargetHealthDescription
fn clone(&self) -> TargetHealthDescription
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 moresourceimpl Debug for TargetHealthDescription
impl Debug for TargetHealthDescription
sourceimpl PartialEq<TargetHealthDescription> for TargetHealthDescription
impl PartialEq<TargetHealthDescription> for TargetHealthDescription
sourcefn eq(&self, other: &TargetHealthDescription) -> bool
fn eq(&self, other: &TargetHealthDescription) -> bool
impl StructuralPartialEq for TargetHealthDescription
Auto Trait Implementations
impl RefUnwindSafe for TargetHealthDescription
impl Send for TargetHealthDescription
impl Sync for TargetHealthDescription
impl Unpin for TargetHealthDescription
impl UnwindSafe for TargetHealthDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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