RustRover cargo-generate template: Axum + Vue 3 + TypeScript + Tailwind + sqlx
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

1234567891011121314
  1. use serde::Serialize;
  2. use utoipa::ToSchema;
  3. #[derive(Debug, Serialize, ToSchema)]
  4. pub struct HealthResponse {
  5. pub status: &'static str,
  6. pub service: String,
  7. }
  8. #[derive(Debug, Serialize, ToSchema)]
  9. pub struct ReadyResponse {
  10. pub status: &'static str,
  11. pub database: &'static str,
  12. }