openweather-async 0.1.2

An async library for use with the openweathermap.org API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub enum Units {
    Metric,
    Fahrenheit,
    Kelvin,
}

impl Units {
    pub fn value(&self) -> &str {
        match *self {
            Units::Metric => "metric",
            Units::Fahrenheit => "fahrenheit",
            Units::Kelvin => "kelvin",
        }
    }
}