fix: apparently precipitation is a float
This commit is contained in:
parent
0807c15de4
commit
99c9a1d09f
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ pub struct WeatherAlert {
|
||||||
pub struct Precipitation {
|
pub struct Precipitation {
|
||||||
/// Precipitation volume in the last hour in mm
|
/// Precipitation volume in the last hour in mm
|
||||||
#[serde(rename = "1h")]
|
#[serde(rename = "1h")]
|
||||||
pub(self) hour: u16,
|
pub(self) hour: f32,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
|
|
Loading…
Reference in a new issue