podman_rest_client/v5/models/health_check_log.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// HealthCheckLog describes the results of a single healthcheck
4pub struct HealthCheckLog {
5 /// End time as a string
6 #[serde(rename = "End")]
7 pub end: Option<String>,
8 /// Exitcode is 0 or 1
9 #[serde(rename = "ExitCode")]
10 pub exit_code: Option<i64>,
11 /// Output is the stdout/stderr from the healthcheck command
12 #[serde(rename = "Output")]
13 pub output: Option<String>,
14 /// Start time as string
15 #[serde(rename = "Start")]
16 pub start: Option<String>,
17}