pub struct HealthCheck {
pub name: String,
pub message: Option<String>,
pub checks: Vec<HealthCheck>,
pub status: Status,
pub version: Option<String>,
pub commit: Option<String>,
}
Expand description
HealthCheck
Fields
name: String
Name of the influxdb instance
message: Option<String>
Message
checks: Vec<HealthCheck>
Checks
status: Status
Status
version: Option<String>
Version
commit: Option<String>
Commit
Implementations
Trait Implementations
sourceimpl Clone for HealthCheck
impl Clone for HealthCheck
sourcefn clone(&self) -> HealthCheck
fn clone(&self) -> HealthCheck
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 more
sourceimpl Debug for HealthCheck
impl Debug for HealthCheck
sourceimpl<'de> Deserialize<'de> for HealthCheck
impl<'de> Deserialize<'de> for HealthCheck
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HealthCheck> for HealthCheck
impl PartialEq<HealthCheck> for HealthCheck
sourcefn eq(&self, other: &HealthCheck) -> bool
fn eq(&self, other: &HealthCheck) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HealthCheck) -> bool
fn ne(&self, other: &HealthCheck) -> bool
This method tests for !=
.
sourceimpl Serialize for HealthCheck
impl Serialize for HealthCheck
impl StructuralPartialEq for HealthCheck
Auto Trait Implementations
impl RefUnwindSafe for HealthCheck
impl Send for HealthCheck
impl Sync for HealthCheck
impl Unpin for HealthCheck
impl UnwindSafe for HealthCheck
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more