pub struct Forecast {
pub units: Units,
pub time_zone: String,
pub days: Vec<ForecastDay>,
pub hours: Vec<ForecastHour>,
}Expand description
Temperatures in °C and wind in km/h for metric, °F and mph for imperial.
Fields§
§units: Units§time_zone: String§days: Vec<ForecastDay>§hours: Vec<ForecastHour>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Forecast
impl<'de> Deserialize<'de> for Forecast
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Forecast
impl Freeze for Forecast
impl Move for Forecast
impl RefUnwindSafe for Forecast
impl Send for Forecast
impl Sync for Forecast
impl Unpin for Forecast
impl UnsafeUnpin for Forecast
impl UnwindSafe for Forecast
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more