pub struct HealthScore {
pub score: u32,
pub status: HealthStatus,
}Expand description
Health score (0-100)
Fields§
§score: u32§status: HealthStatusTrait Implementations§
Source§impl Clone for HealthScore
impl Clone for HealthScore
Source§fn clone(&self) -> HealthScore
fn clone(&self) -> HealthScore
Returns a duplicate 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 HealthScore
impl Debug for HealthScore
Source§impl<'de> Deserialize<'de> for HealthScore
impl<'de> Deserialize<'de> for HealthScore
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 Serialize for HealthScore
impl Serialize for HealthScore
impl Copy for HealthScore
Auto Trait Implementations§
impl Freeze for HealthScore
impl RefUnwindSafe for HealthScore
impl Send for HealthScore
impl Sync for HealthScore
impl Unpin for HealthScore
impl UnsafeUnpin for HealthScore
impl UnwindSafe for HealthScore
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