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
Self
Source§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 Self
Source§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