Struct dofigen_lib::Healthcheck
source · pub struct Healthcheck {
pub cmd: String,
pub interval: Option<String>,
pub timeout: Option<String>,
pub start: Option<String>,
pub retries: Option<u16>,
}Fields§
§cmd: String§interval: Option<String>§timeout: Option<String>§start: Option<String>§retries: Option<u16>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 Default for Healthcheck
impl Default for Healthcheck
source§fn default() -> Healthcheck
fn default() -> Healthcheck
Returns the “default value” for a type. Read more
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 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 StructuralPartialEq for Healthcheck
Auto Trait Implementations§
impl Freeze for Healthcheck
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