//! API responses for the [`stats`](crate::servers::apis::v1::context::stats)
//! API context.
useaxum::response::Json;usesuper::resources::Stats;usecrate::core::services::statistics::TrackerMetrics;/// `200` response that contains the [`Stats`] resource as json.
pubfnstats_response(tracker_metrics: TrackerMetrics)->Json<Stats>{
Json(Stats::from(tracker_metrics))}