Struct google_appengine1::LivenessCheck
source · pub struct LivenessCheck {
pub host: Option<String>,
pub timeout: Option<String>,
pub check_interval: Option<String>,
pub path: Option<String>,
pub success_threshold: Option<u32>,
pub initial_delay: Option<String>,
pub failure_threshold: Option<u32>,
}
Expand description
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
This type is not used in any activity, and only used as part of another schema.
Fields§
§host: Option<String>
Host header to send when performing a HTTP Liveness check. Example: “myapp.appspot.com”
timeout: Option<String>
Time before the check is considered failed.
check_interval: Option<String>
Interval between health checks.
path: Option<String>
The request path.
success_threshold: Option<u32>
Number of consecutive successful checks required before considering the VM healthy.
initial_delay: Option<String>
The initial delay before starting to execute the checks.
failure_threshold: Option<u32>
Number of consecutive failed checks required before considering the VM unhealthy.
Trait Implementations§
source§impl Clone for LivenessCheck
impl Clone for LivenessCheck
source§fn clone(&self) -> LivenessCheck
fn clone(&self) -> LivenessCheck
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 LivenessCheck
impl Debug for LivenessCheck
source§impl Default for LivenessCheck
impl Default for LivenessCheck
source§fn default() -> LivenessCheck
fn default() -> LivenessCheck
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LivenessCheck
impl<'de> Deserialize<'de> for LivenessCheck
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 Serialize for LivenessCheck
impl Serialize for LivenessCheck
impl Part for LivenessCheck
Auto Trait Implementations§
impl Freeze for LivenessCheck
impl RefUnwindSafe for LivenessCheck
impl Send for LivenessCheck
impl Sync for LivenessCheck
impl Unpin for LivenessCheck
impl UnwindSafe for LivenessCheck
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more