podman_rest_client/v5/models/health_check_results.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// HealthCheckResults describes the results/logs from a healthcheck
4pub struct HealthCheckResults {
5 /// FailingStreak is the number of consecutive failed healthchecks
6 #[serde(rename = "FailingStreak")]
7 pub failing_streak: Option<i64>,
8 /// Log describes healthcheck attempts and results
9 #[serde(rename = "Log")]
10 pub log: Option<Vec<crate::v5::models::HealthCheckLog>>,
11 /// Status starting, healthy or unhealthy
12 #[serde(rename = "Status")]
13 pub status: Option<String>,
14}