pub struct HealthResponse {
pub status: &'static str,
}Expand description
Health check response payload.
This struct represents the stable schema for the health endpoint response. Fields should not be modified without careful consideration of external dependencies that may rely on this contract.
Fields§
§status: &'static strDaemon liveness status.
This field indicates that the daemon process is running and responding to HTTP requests. It does not indicate that all services are ready or that storage is available.
Implementations§
Trait Implementations§
Source§impl Clone for HealthResponse
impl Clone for HealthResponse
Source§fn clone(&self) -> HealthResponse
fn clone(&self) -> HealthResponse
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 HealthResponse
impl Debug for HealthResponse
Auto Trait Implementations§
impl Freeze for HealthResponse
impl RefUnwindSafe for HealthResponse
impl Send for HealthResponse
impl Sync for HealthResponse
impl Unpin for HealthResponse
impl UnsafeUnpin for HealthResponse
impl UnwindSafe for HealthResponse
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