pub struct HealthCheckResult {
pub name: String,
pub healthy: bool,
pub error: Option<String>,
}Expand description
健康检查结果
Fields§
§name: String检查名称
healthy: bool是否成功
error: Option<String>错误信息(如果失败)
Trait Implementations§
Source§impl Clone for HealthCheckResult
impl Clone for HealthCheckResult
Auto Trait Implementations§
impl Freeze for HealthCheckResult
impl RefUnwindSafe for HealthCheckResult
impl Send for HealthCheckResult
impl Sync for HealthCheckResult
impl Unpin for HealthCheckResult
impl UnsafeUnpin for HealthCheckResult
impl UnwindSafe for HealthCheckResult
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