pub struct HealthCheckResults {
pub failing_streak: Option<i64>,
pub log: Option<Vec<HealthCheckLog>>,
pub status: Option<String>,
}
Expand description
HealthCheckResults : HealthCheckResults describes the results/logs from a healthcheck
Fields§
§failing_streak: Option<i64>
FailingStreak is the number of consecutive failed healthchecks
log: Option<Vec<HealthCheckLog>>
Log describes healthcheck attempts and results
status: Option<String>
Status starting, healthy or unhealthy
Implementations§
Source§impl HealthCheckResults
impl HealthCheckResults
Sourcepub fn new() -> HealthCheckResults
pub fn new() -> HealthCheckResults
HealthCheckResults describes the results/logs from a healthcheck
Trait Implementations§
Source§impl Clone for HealthCheckResults
impl Clone for HealthCheckResults
Source§fn clone(&self) -> HealthCheckResults
fn clone(&self) -> HealthCheckResults
Returns a duplicate 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 HealthCheckResults
impl Debug for HealthCheckResults
Source§impl Default for HealthCheckResults
impl Default for HealthCheckResults
Source§fn default() -> HealthCheckResults
fn default() -> HealthCheckResults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HealthCheckResults
impl<'de> Deserialize<'de> for HealthCheckResults
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 HealthCheckResults
impl PartialEq for HealthCheckResults
Source§impl Serialize for HealthCheckResults
impl Serialize for HealthCheckResults
impl StructuralPartialEq for HealthCheckResults
Auto Trait Implementations§
impl Freeze for HealthCheckResults
impl RefUnwindSafe for HealthCheckResults
impl Send for HealthCheckResults
impl Sync for HealthCheckResults
impl Unpin for HealthCheckResults
impl UnwindSafe for HealthCheckResults
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