met_office_api/models/vnd_error.rs
1/*
2 * Global three hourly spot data
3 *
4 * This API provides three hourly weather forecast data for a requested coordinate defined by a latitude and longitude. The format of the data is GeoJSON.
5 *
6 * The version of the OpenAPI document: 1.0.1
7 * Contact: enquiries@metoffice.gov.uk
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct VndError {
16 #[serde(rename = "logref", skip_serializing_if = "Option::is_none")]
17 pub logref: Option<String>,
18 #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
19 pub message: Option<String>,
20}
21
22impl VndError {
23 pub fn new() -> VndError {
24 VndError {
25 logref: None,
26 message: None,
27 }
28 }
29}
30
31