pub enum HealthStatus {
Healthy,
Warning,
Critical,
}Expand description
Health status indicator
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for HealthStatus
impl Clone for HealthStatus
Sourceยงfn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
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 HealthStatus
impl Debug for HealthStatus
Sourceยงimpl<'de> Deserialize<'de> for HealthStatus
impl<'de> Deserialize<'de> for HealthStatus
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
impl Eq for HealthStatus
Sourceยงimpl PartialEq for HealthStatus
impl PartialEq for HealthStatus
Sourceยงfn eq(&self, other: &HealthStatus) -> bool
fn eq(&self, other: &HealthStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Sourceยงimpl Serialize for HealthStatus
impl Serialize for HealthStatus
impl StructuralPartialEq for HealthStatus
Auto Trait Implementationsยง
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnsafeUnpin for HealthStatus
impl UnwindSafe for HealthStatus
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