pub struct HealthResponse {
pub status: String,
pub version: String,
}Available on crate feature
server only.Expand description
Response from the GET /health endpoint.
Fields§
§status: StringService health status (always "ok" when reachable).
version: StringAgent version string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HealthResponse
impl RefUnwindSafe for HealthResponse
impl Send for HealthResponse
impl Sync for HealthResponse
impl Unpin 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