pub struct BodyVitals {
pub overall_health: f64,
pub heartbeat_ms: u64,
pub last_check: i64,
pub anomalies: Vec<String>,
}Expand description
Vital signs of the resource body.
Fields§
§overall_health: f64§heartbeat_ms: u64§last_check: i64§anomalies: Vec<String>Trait Implementations§
Source§impl Clone for BodyVitals
impl Clone for BodyVitals
Source§fn clone(&self) -> BodyVitals
fn clone(&self) -> BodyVitals
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 BodyVitals
impl Debug for BodyVitals
Source§impl<'de> Deserialize<'de> for BodyVitals
impl<'de> Deserialize<'de> for BodyVitals
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
Auto Trait Implementations§
impl Freeze for BodyVitals
impl RefUnwindSafe for BodyVitals
impl Send for BodyVitals
impl Sync for BodyVitals
impl Unpin for BodyVitals
impl UnsafeUnpin for BodyVitals
impl UnwindSafe for BodyVitals
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