Skip to main content

dtz_rss2email/models/
error_message.rs

1/*
2 * DTZ RSS2Email Api
3 *
4 * a generated client for the DTZ RSS2Email API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ErrorMessage {
17    #[serde(rename = "msg")]
18    pub msg: String,
19}
20
21impl ErrorMessage {
22    pub fn new(msg: String) -> ErrorMessage {
23        ErrorMessage {
24            msg,
25        }
26    }
27}
28