met_office_api/models/symbol.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 Symbol {
16 #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
17 pub r#type: Option<String>,
18 #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
19 pub value: Option<String>,
20}
21
22impl Symbol {
23 pub fn new() -> Symbol {
24 Symbol {
25 r#type: None,
26 value: None,
27 }
28 }
29}
30
31