Struct podman_api_stubs::models::ContainerHealthCheckConfig [−][src]
pub struct ContainerHealthCheckConfig {
pub healthconfig: Option<Schema2HealthConfig>,
}
Expand description
ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
Fields
healthconfig: Option<Schema2HealthConfig>
Implementations
pub fn with_healthconfig(
self,
healthconfig: Schema2HealthConfig
) -> ContainerHealthCheckConfig
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ContainerHealthCheckConfig
impl Send for ContainerHealthCheckConfig
impl Sync for ContainerHealthCheckConfig
impl Unpin for ContainerHealthCheckConfig
impl UnwindSafe for ContainerHealthCheckConfig
Blanket Implementations
Mutably borrows from an owned value. Read more