28 lines
566 B
Rust
28 lines
566 B
Rust
/*
|
|
* rfs
|
|
*
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 0.2.0
|
|
*
|
|
* Generated by: https://openapi-generator.tech
|
|
*/
|
|
|
|
use crate::models;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
|
pub struct HealthResponse {
|
|
#[serde(rename = "msg")]
|
|
pub msg: String,
|
|
}
|
|
|
|
impl HealthResponse {
|
|
pub fn new(msg: String) -> HealthResponse {
|
|
HealthResponse {
|
|
msg,
|
|
}
|
|
}
|
|
}
|
|
|