noaa_weather_client 1.2.0

A client library for the NOAA weather.gov API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::models;
use serde::{Deserialize, Serialize};

/// GridpointForecastPeriodWindGust : Peak wind gust for the period. This property as an string value is deprecated. Future versions will express this value as a quantitative value object. To make use of the future standard format now, set the \"forecast_wind_speed_qv\" feature flag on the request.
/// Peak wind gust for the period. This property as an string value is deprecated. Future versions will express this value as a quantitative value object. To make use of the future standard format now, set the \"forecast_wind_speed_qv\" feature flag on the request.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum GridpointForecastPeriodWindGust {
    QuantitativeValue(Box<models::QuantitativeValue>),
    String(String),
}

impl Default for GridpointForecastPeriodWindGust {
    fn default() -> Self {
        Self::QuantitativeValue(Default::default())
    }
}