pub struct HealthcheckPatch {
    pub cmd: Option<String>,
    pub interval: Option<Option<String>>,
    pub timeout: Option<Option<String>>,
    pub start: Option<Option<String>>,
    pub retries: Option<Option<u16>>,
}Fields§
§cmd: Option<String>§interval: Option<Option<String>>§timeout: Option<Option<String>>§start: Option<Option<String>>§retries: Option<Option<u16>>Trait Implementations§
source§impl Clone for HealthcheckPatch
 
impl Clone for HealthcheckPatch
source§fn clone(&self) -> HealthcheckPatch
 
fn clone(&self) -> HealthcheckPatch
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 HealthcheckPatch
 
impl Debug for HealthcheckPatch
source§impl Default for HealthcheckPatch
 
impl Default for HealthcheckPatch
source§fn default() -> HealthcheckPatch
 
fn default() -> HealthcheckPatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HealthcheckPatchwhere
    HealthcheckPatch: Default,
 
impl<'de> Deserialize<'de> for HealthcheckPatchwhere
    HealthcheckPatch: Default,
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 From<HealthcheckPatch> for Healthcheck
 
impl From<HealthcheckPatch> for Healthcheck
source§fn from(value: HealthcheckPatch) -> Self
 
fn from(value: HealthcheckPatch) -> Self
Converts to this type from the input type.
source§impl PartialEq for HealthcheckPatch
 
impl PartialEq for HealthcheckPatch
source§impl Patch<HealthcheckPatch> for Healthcheck
 
impl Patch<HealthcheckPatch> for Healthcheck
source§fn apply(&mut self, patch: HealthcheckPatch)
 
fn apply(&mut self, patch: HealthcheckPatch)
Apply a patch
source§fn into_patch(self) -> HealthcheckPatch
 
fn into_patch(self) -> HealthcheckPatch
Returns a patch that when applied turns any struct of the same type into 
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> HealthcheckPatch
 
fn into_patch_by_diff(self, previous_struct: Self) -> HealthcheckPatch
Returns a patch that when applied turns 
previous_struct into Selfsource§fn new_empty_patch() -> HealthcheckPatch
 
fn new_empty_patch() -> HealthcheckPatch
Get an empty patch instance
impl StructuralPartialEq for HealthcheckPatch
Auto Trait Implementations§
impl Freeze for HealthcheckPatch
impl RefUnwindSafe for HealthcheckPatch
impl Send for HealthcheckPatch
impl Sync for HealthcheckPatch
impl Unpin for HealthcheckPatch
impl UnwindSafe for HealthcheckPatch
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)