1 2 3 4 5 6 7 8 9 10
use serde::Deserialize; #[derive(Clone, Debug, Deserialize)] #[serde(rename_all = "camelCase")] pub struct HealthResponse { pub database: Option<String>, pub message: Option<String>, pub version: Option<String>, pub commit: Option<String>, }