pub struct NormalizedHealthcheckConfig {
pub test: Vec<String>,
pub disable: bool,
pub interval: Option<String>,
pub timeout: Option<String>,
pub retries: Option<u32>,
pub start_period: Option<String>,
}Expand description
Canonical health-check settings.
Fields§
§test: Vec<String>Tokenized health-check command.
disable: boolWhether the health check is explicitly disabled.
interval: Option<String>Interval between health checks.
timeout: Option<String>Timeout for one health check.
retries: Option<u32>Consecutive failures before unhealthy.
start_period: Option<String>Startup grace period.
Trait Implementations§
Source§impl Clone for NormalizedHealthcheckConfig
impl Clone for NormalizedHealthcheckConfig
Source§fn clone(&self) -> NormalizedHealthcheckConfig
fn clone(&self) -> NormalizedHealthcheckConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NormalizedHealthcheckConfig
impl Debug for NormalizedHealthcheckConfig
impl Eq for NormalizedHealthcheckConfig
impl StructuralPartialEq for NormalizedHealthcheckConfig
Auto Trait Implementations§
impl Freeze for NormalizedHealthcheckConfig
impl RefUnwindSafe for NormalizedHealthcheckConfig
impl Send for NormalizedHealthcheckConfig
impl Sync for NormalizedHealthcheckConfig
impl Unpin for NormalizedHealthcheckConfig
impl UnsafeUnpin for NormalizedHealthcheckConfig
impl UnwindSafe for NormalizedHealthcheckConfig
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.