pub struct HealthProbe {
pub exec: Option<HealthExecProbe>,
pub failure_threshold: Option<i64>,
pub http_get: Option<HealthHttpProbe>,
pub initial_delay: Option<i64>,
pub period_seconds: Option<i64>,
pub success_threshold: Option<i64>,
pub timeout_seconds: Option<i64>,
}Expand description
HealthProbe
JSON schema
{
"type": "object",
"properties": {
"exec": {
"$ref": "#/components/schemas/health.ExecProbe"
},
"failureThreshold": {
"type": "integer"
},
"httpGet": {
"$ref": "#/components/schemas/health.HttpProbe"
},
"initialDelay": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
},
"successThreshold": {
"type": "integer"
},
"timeoutSeconds": {
"type": "integer"
}
}
}Fields§
§exec: Option<HealthExecProbe>§failure_threshold: Option<i64>§http_get: Option<HealthHttpProbe>§initial_delay: Option<i64>§period_seconds: Option<i64>§success_threshold: Option<i64>§timeout_seconds: Option<i64>Trait Implementations§
source§impl Clone for HealthProbe
impl Clone for HealthProbe
source§fn clone(&self) -> HealthProbe
fn clone(&self) -> HealthProbe
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 HealthProbe
impl Debug for HealthProbe
source§impl<'de> Deserialize<'de> for HealthProbe
impl<'de> Deserialize<'de> for HealthProbe
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<&HealthProbe> for HealthProbe
impl From<&HealthProbe> for HealthProbe
source§fn from(value: &HealthProbe) -> Self
fn from(value: &HealthProbe) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HealthProbe
impl RefUnwindSafe for HealthProbe
impl Send for HealthProbe
impl Sync for HealthProbe
impl Unpin for HealthProbe
impl UnwindSafe for HealthProbe
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)