pub struct ContainerWithDockerHealthcheckOpts<'a> {
pub interval: Option<&'a str>,
pub retries: Option<isize>,
pub shell: Option<bool>,
pub start_interval: Option<&'a str>,
pub start_period: Option<&'a str>,
pub timeout: Option<&'a str>,
}Fields§
§interval: Option<&'a str>Interval between running healthcheck. Example: “30s”
retries: Option<isize>The maximum number of consecutive failures before the container is marked as unhealthy. Example: “3”
shell: Option<bool>When true, command must be a single element, which is run using the container’s shell
start_interval: Option<&'a str>StartInterval configures the duration between checks during the startup phase. Example: “5s”
start_period: Option<&'a str>StartPeriod allows for failures during this initial startup period which do not count towards maximum number of retries. Example: “0s”
timeout: Option<&'a str>Healthcheck timeout. Example: “3s”
Trait Implementations§
Source§impl<'a> Debug for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> Debug for ContainerWithDockerHealthcheckOpts<'a>
Source§impl<'a> PartialEq for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> PartialEq for ContainerWithDockerHealthcheckOpts<'a>
Source§fn eq(&self, other: &ContainerWithDockerHealthcheckOpts<'a>) -> bool
fn eq(&self, other: &ContainerWithDockerHealthcheckOpts<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ContainerWithDockerHealthcheckOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> RefUnwindSafe for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> Send for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> Sync for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> Unpin for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> UnsafeUnpin for ContainerWithDockerHealthcheckOpts<'a>
impl<'a> UnwindSafe for ContainerWithDockerHealthcheckOpts<'a>
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