RustRover cargo-generate template: Axum + Vue 3 + TypeScript + Tailwind + sqlx
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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. }