pub struct DayPartForecast {
pub cloud_cover: f64,
pub condition_code: String,
pub forecast_end: DateTime<Utc>,
pub forecast_start: DateTime<Utc>,
pub humidity: f64,
pub precipitation_amount: f64,
pub precipitation_chance: f64,
pub precipitation_type: PrecipitationType,
pub snowfall_amount: f64,
pub wind_direction: Option<u16>,
pub wind_speed: f64,
}Expand description
A summary forecast for a daytime or overnight period.
Fields§
§cloud_cover: f64The percentage of the sky covered with clouds during the period, from 0 to
condition_code: StringAn enumeration value indicating the condition at the time.
forecast_end: DateTime<Utc>The ending date and time of the forecast.
forecast_start: DateTime<Utc>The starting date and time of the forecast.
humidity: f64The relative humidity during the period, from 0 to 1.
precipitation_amount: f64The amount of precipitation forecasted to occur during the period, in millimeters.
precipitation_chance: f64The chance of precipitation forecasted to occur during the period.
precipitation_type: PrecipitationTypeThe type of precipitation forecasted to occur during the period.
snowfall_amount: f64The depth of snow as ice crystals forecasted to occur during the period, in millimeters.
wind_direction: Option<u16>The direction the wind is forecasted to come from during the period, in degrees.
wind_speed: f64The average speed the wind is forecasted to be during the period, in kilometers per hour.