pub struct Health {
pub status: String,
pub version: String,
pub git_commit: Option<String>,
pub release_id: Option<String>,
pub public_contract: Option<String>,
pub capability_fingerprint: Option<String>,
pub storage: Option<String>,
pub membership: Option<String>,
}Expand description
The server’s own health report (GET /health): liveness, build identity and subsystem status.
Fields§
§status: Stringhealthy, or the reason it is not.
version: StringThe server’s package version.
git_commit: Option<String>§release_id: Option<String>§public_contract: Option<String>§capability_fingerprint: Option<String>§storage: Option<String>§membership: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Health
impl<'de> Deserialize<'de> for Health
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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