pub struct HealthStats {
pub module_name: String,
pub total_checks: u64,
pub consecutive_failures: u32,
pub consecutive_successes: u32,
}Expand description
Health statistics.
Fields§
§module_name: String§total_checks: u64§consecutive_failures: u32§consecutive_successes: u32Trait Implementations§
Source§impl Clone for HealthStats
impl Clone for HealthStats
Source§fn clone(&self) -> HealthStats
fn clone(&self) -> HealthStats
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 moreAuto Trait Implementations§
impl Freeze for HealthStats
impl RefUnwindSafe for HealthStats
impl Send for HealthStats
impl Sync for HealthStats
impl Unpin for HealthStats
impl UnsafeUnpin for HealthStats
impl UnwindSafe for HealthStats
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