pub struct AdminHealthResponse {
pub uptime_secs: u64,
pub version: String,
pub pool_active: u32,
pub pool_idle: u32,
pub pool_max: u32,
pub cache_hit_rate: Option<f64>,
pub cache_entries: Option<u64>,
}Expand description
Response from GET /admin/v1/health/detailed.
Fields§
§uptime_secs: u64Server uptime in seconds since startup.
version: StringBinary version string (e.g. "2.2.0").
pool_active: u32Number of active database connections in the pool.
pool_idle: u32Number of idle database connections in the pool.
pool_max: u32Maximum pool size.
cache_hit_rate: Option<f64>Query cache hit rate (0–1), or None if cache is disabled.
cache_entries: Option<u64>Current cache entry count, or None if cache is disabled.
Trait Implementations§
Source§impl Clone for AdminHealthResponse
impl Clone for AdminHealthResponse
Source§fn clone(&self) -> AdminHealthResponse
fn clone(&self) -> AdminHealthResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdminHealthResponse
impl Debug for AdminHealthResponse
Source§impl<'de> Deserialize<'de> for AdminHealthResponse
impl<'de> Deserialize<'de> for AdminHealthResponse
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
Auto Trait Implementations§
impl Freeze for AdminHealthResponse
impl RefUnwindSafe for AdminHealthResponse
impl Send for AdminHealthResponse
impl Sync for AdminHealthResponse
impl Unpin for AdminHealthResponse
impl UnsafeUnpin for AdminHealthResponse
impl UnwindSafe for AdminHealthResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more