//! Weather types and functions
usechrono::{DateTime, Utc};usegeo::Point;/// A weather record representing the weather for a single point-in-time, at a location
#[derive(Debug, Clone)]pubstructWeather{/// UTC time when the weather was sampled
pubtime:DateTime<Utc>,
/// Location the weather was sampled at
publocation:Point<f64>,
/// Temperature (Celcius)
pubtemp:f64,
/// Relative humidity (%)
pubrh:f64,
/// Wind speed (at 10m height, km/h)
pubws:f64,
/// Wind direction (degrees, 0 = wind from north, 90 = from east, etc.)
pubwd:f64,
/// Precipitation (mm)
pubprecip:f64,
}