Struct autopulse::routes::stats::StatsResponse
source · pub struct StatsResponse {
stats: Stats,
speed: f64,
}
Expand description
Represents the response format for the /stats
endpoint.
This structure is used to serialize the response returned by the /stats
endpoint,
providing both the service statistics and the response time.
Fields§
§stats: Stats
Detailed service statistics.
speed: f64
The time taken to retrieve the statistics, measured in milliseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatsResponse
impl RefUnwindSafe for StatsResponse
impl Send for StatsResponse
impl Sync for StatsResponse
impl Unpin for StatsResponse
impl UnwindSafe for StatsResponse
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