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§
source§impl Clone for Healthcheck
impl Clone for Healthcheck
source§fn clone(&self) -> Healthcheck
fn clone(&self) -> Healthcheck
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 Healthcheck
impl Debug for Healthcheck
source§impl<'de> Deserialize<'de> for Healthcheck
impl<'de> Deserialize<'de> for Healthcheck
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 Hash for Healthcheck
impl Hash for Healthcheck
source§impl PartialEq for Healthcheck
impl PartialEq for Healthcheck
source§fn eq(&self, other: &Healthcheck) -> bool
fn eq(&self, other: &Healthcheck) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Healthcheck
impl Serialize for Healthcheck
impl Eq 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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.