Struct docker_compose_types::Healthcheck
source · pub struct Healthcheck {
pub test: Option<HealthcheckTest>,
pub interval: Option<String>,
pub timeout: Option<String>,
pub retries: i64,
pub start_period: Option<String>,
pub disable: bool,
}
Fields
test: Option<HealthcheckTest>
interval: Option<String>
timeout: Option<String>
retries: i64
start_period: Option<String>
disable: bool
Trait Implementations
sourceimpl Clone for Healthcheck
impl Clone for Healthcheck
sourcefn clone(&self) -> Healthcheck
fn clone(&self) -> Healthcheck
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Healthcheck
impl Debug for Healthcheck
sourceimpl<'de> Deserialize<'de> for Healthcheck
impl<'de> Deserialize<'de> for Healthcheck
sourcefn 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
sourceimpl Hash for Healthcheck
impl Hash for Healthcheck
sourceimpl PartialEq<Healthcheck> for Healthcheck
impl PartialEq<Healthcheck> for Healthcheck
sourcefn eq(&self, other: &Healthcheck) -> bool
fn eq(&self, other: &Healthcheck) -> bool
sourceimpl Serialize for Healthcheck
impl Serialize for Healthcheck
impl Eq for Healthcheck
impl StructuralEq for Healthcheck
impl StructuralPartialEq for Healthcheck
Auto Trait Implementations
impl RefUnwindSafe for Healthcheck
impl Send for Healthcheck
impl Sync for Healthcheck
impl Unpin for Healthcheck
impl UnwindSafe for Healthcheck
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.