pub struct HealthReport {
pub status: HealthStatus,
pub detail: Option<String>,
pub metrics: Option<Value>,
}Fields§
§status: HealthStatus§detail: Option<String>§metrics: Option<Value>Implementations§
Source§impl HealthReport
impl HealthReport
Trait Implementations§
Source§impl Clone for HealthReport
impl Clone for HealthReport
Source§fn clone(&self) -> HealthReport
fn clone(&self) -> HealthReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HealthReport
impl Debug for HealthReport
Source§impl<'de> Deserialize<'de> for HealthReport
impl<'de> Deserialize<'de> for HealthReport
Source§fn 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
Source§impl From<HealthReport> for ModuleControlResponse
impl From<HealthReport> for ModuleControlResponse
Source§fn from(report: HealthReport) -> Self
fn from(report: HealthReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HealthReport
impl PartialEq for HealthReport
Source§fn eq(&self, other: &HealthReport) -> bool
fn eq(&self, other: &HealthReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HealthReport
impl Serialize for HealthReport
impl StructuralPartialEq for HealthReport
Auto Trait Implementations§
impl Freeze for HealthReport
impl RefUnwindSafe for HealthReport
impl Send for HealthReport
impl Sync for HealthReport
impl Unpin for HealthReport
impl UnsafeUnpin for HealthReport
impl UnwindSafe for HealthReport
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