wthr 0.1.0

Weather from the US National Weather Service.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

pub type Angle = u32;
pub type TimeInterval = String;
pub type Percent = u8;
pub type Position = Vec<f64>;
pub type Url = String;

#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Quantity {
    pub value: Option<f64>,
    pub unit_code: String,
}