pub struct HealthReport {
pub config_ok: bool,
pub keys_count: usize,
pub api_reachable: bool,
pub api_details: Option<String>,
}Expand description
Consolidated result of the health checks.
Fields§
§config_ok: boolWhether the local config and HTTP client initialised successfully.
keys_count: usizeNumber of API keys currently configured.
api_reachable: boolWhether the Context7 API responded during the probe.
api_details: Option<String>Optional diagnostic detail (e.g. error message, timeout reason).
Trait Implementations§
Source§impl Debug for HealthReport
impl Debug for HealthReport
Auto Trait Implementations§
impl Freeze for HealthReport
impl RefUnwindSafe for HealthReport
impl Send for HealthReport
impl Sync for HealthReport
impl Unpin for HealthReport
impl UnsafeUnpin for HealthReport
impl UnwindSafe for HealthReport
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