dtz_containers/models/
error_response.rs

1/*
2 * DTZ Containers
3 *
4 * a generated client for the DTZ Containers 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 ErrorResponse {
17    #[serde(rename = "msg", skip_serializing_if = "Option::is_none")]
18    pub msg: Option<String>,
19}
20
21impl ErrorResponse {
22    pub fn new() -> ErrorResponse {
23        ErrorResponse {
24            msg: None,
25        }
26    }
27}
28