Struct bollard_stubs::models::Health
source · pub struct Health {
pub status: Option<HealthStatusEnum>,
pub failing_streak: Option<i64>,
pub log: Option<Vec<HealthcheckResult>>,
}
Expand description
Health stores information about the container’s healthcheck results.
Fields§
§status: Option<HealthStatusEnum>
Status is one of none
, starting
, healthy
or unhealthy
- "none" Indicates there is no healthcheck - "starting" Starting indicates that the container is not yet ready - "healthy" Healthy indicates that the container is running correctly - "unhealthy" Unhealthy indicates that the container has a problem
failing_streak: Option<i64>
FailingStreak is the number of consecutive failures
log: Option<Vec<HealthcheckResult>>
Log contains the last few results (oldest first)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Health
impl<'de> Deserialize<'de> for Health
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