pub struct ModuleHealth {
pub name: String,
pub healthy: bool,
pub last_check: Instant,
pub message: Option<String>,
}Expand description
Module health status
Fields§
§name: String§healthy: bool§last_check: Instant§message: Option<String>Trait Implementations§
Source§impl Clone for ModuleHealth
impl Clone for ModuleHealth
Source§fn clone(&self) -> ModuleHealth
fn clone(&self) -> ModuleHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleHealth
impl Debug for ModuleHealth
Auto Trait Implementations§
impl Freeze for ModuleHealth
impl RefUnwindSafe for ModuleHealth
impl Send for ModuleHealth
impl Sync for ModuleHealth
impl Unpin for ModuleHealth
impl UnsafeUnpin for ModuleHealth
impl UnwindSafe for ModuleHealth
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