pub struct DetailedHealthResponse {
pub status: Status,
pub checked_at: String,
pub version: String,
pub checks: Box<HealthChecks>,
}Expand description
DetailedHealthResponse : Detailed health status response (always fresh, no caching)
Fields§
§status: StatusOverall health status
checked_at: StringTimestamp when the health check was performed
version: StringServer version (e.g., "EE 1.615.3")
checks: Box<HealthChecks>Implementations§
Source§impl DetailedHealthResponse
impl DetailedHealthResponse
Sourcepub fn new(
status: Status,
checked_at: String,
version: String,
checks: HealthChecks,
) -> DetailedHealthResponse
pub fn new( status: Status, checked_at: String, version: String, checks: HealthChecks, ) -> DetailedHealthResponse
Detailed health status response (always fresh, no caching)
Trait Implementations§
Source§impl Clone for DetailedHealthResponse
impl Clone for DetailedHealthResponse
Source§fn clone(&self) -> DetailedHealthResponse
fn clone(&self) -> DetailedHealthResponse
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 DetailedHealthResponse
impl Debug for DetailedHealthResponse
Source§impl Default for DetailedHealthResponse
impl Default for DetailedHealthResponse
Source§fn default() -> DetailedHealthResponse
fn default() -> DetailedHealthResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetailedHealthResponse
impl<'de> Deserialize<'de> for DetailedHealthResponse
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
Source§impl PartialEq for DetailedHealthResponse
impl PartialEq for DetailedHealthResponse
Source§impl Serialize for DetailedHealthResponse
impl Serialize for DetailedHealthResponse
impl StructuralPartialEq for DetailedHealthResponse
Auto Trait Implementations§
impl Freeze for DetailedHealthResponse
impl RefUnwindSafe for DetailedHealthResponse
impl Send for DetailedHealthResponse
impl Sync for DetailedHealthResponse
impl Unpin for DetailedHealthResponse
impl UnsafeUnpin for DetailedHealthResponse
impl UnwindSafe for DetailedHealthResponse
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