Struct podman_autogen_api::models::container_health_check_config::ContainerHealthCheckConfig
source · pub struct ContainerHealthCheckConfig {
pub health_check_on_failure_action: Option<i64>,
pub healthconfig: Option<Box<Schema2HealthConfig>>,
pub startup_health_config: Option<Box<StartupHealthCheck>>,
}
Expand description
ContainerHealthCheckConfig : ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
Fields§
§health_check_on_failure_action: Option<i64>
HealthCheckOnFailureAction defines how Podman reacts when a container’s health status turns unhealthy.
healthconfig: Option<Box<Schema2HealthConfig>>
§startup_health_config: Option<Box<StartupHealthCheck>>
Implementations§
source§impl ContainerHealthCheckConfig
impl ContainerHealthCheckConfig
sourcepub fn new() -> ContainerHealthCheckConfig
pub fn new() -> ContainerHealthCheckConfig
ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
Trait Implementations§
source§impl Clone for ContainerHealthCheckConfig
impl Clone for ContainerHealthCheckConfig
source§fn clone(&self) -> ContainerHealthCheckConfig
fn clone(&self) -> ContainerHealthCheckConfig
Returns a copy 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 ContainerHealthCheckConfig
impl Debug for ContainerHealthCheckConfig
source§impl Default for ContainerHealthCheckConfig
impl Default for ContainerHealthCheckConfig
source§fn default() -> ContainerHealthCheckConfig
fn default() -> ContainerHealthCheckConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContainerHealthCheckConfig
impl<'de> Deserialize<'de> for ContainerHealthCheckConfig
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
source§impl PartialEq for ContainerHealthCheckConfig
impl PartialEq for ContainerHealthCheckConfig
source§fn eq(&self, other: &ContainerHealthCheckConfig) -> bool
fn eq(&self, other: &ContainerHealthCheckConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerHealthCheckConfig
Auto Trait Implementations§
impl Freeze for ContainerHealthCheckConfig
impl RefUnwindSafe for ContainerHealthCheckConfig
impl Send for ContainerHealthCheckConfig
impl Sync for ContainerHealthCheckConfig
impl Unpin for ContainerHealthCheckConfig
impl UnwindSafe for ContainerHealthCheckConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)