pub struct HealthDataPoint {
pub timestamp: DateTime<Utc>,
pub health_status: HealthStatus,
pub metrics: HashMap<String, f64>,
}Expand description
Health data point for trending
Fields§
§timestamp: DateTime<Utc>Timestamp
health_status: HealthStatusHealth status at this time
metrics: HashMap<String, f64>Key metrics at this time
Trait Implementations§
Source§impl Clone for HealthDataPoint
impl Clone for HealthDataPoint
Source§fn clone(&self) -> HealthDataPoint
fn clone(&self) -> HealthDataPoint
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 HealthDataPoint
impl Debug for HealthDataPoint
Source§impl<'de> Deserialize<'de> for HealthDataPoint
impl<'de> Deserialize<'de> for HealthDataPoint
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 HealthDataPoint
impl RefUnwindSafe for HealthDataPoint
impl Send for HealthDataPoint
impl Sync for HealthDataPoint
impl Unpin for HealthDataPoint
impl UnwindSafe for HealthDataPoint
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