pub struct ForecastDay {
pub date: String,
pub high: f64,
pub low: f64,
pub condition: Condition,
pub summary: String,
pub precipitation: f64,
pub wind: f64,
pub sunrise: Option<DateTime<Utc>>,
pub sunset: Option<DateTime<Utc>>,
}Fields§
§date: StringThe local date, YYYY-MM-DD.
high: f64§low: f64§condition: Condition§summary: String§precipitation: f64Chance of precipitation, 0 to 100.
wind: f64§sunrise: Option<DateTime<Utc>>§sunset: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ForecastDay
impl Clone for ForecastDay
Source§impl Debug for ForecastDay
impl Debug for ForecastDay
Source§impl<'de> Deserialize<'de> for ForecastDay
impl<'de> Deserialize<'de> for ForecastDay
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 ForecastDay
impl Freeze for ForecastDay
impl RefUnwindSafe for ForecastDay
impl Send for ForecastDay
impl Sync for ForecastDay
impl Unpin for ForecastDay
impl UnsafeUnpin for ForecastDay
impl UnwindSafe for ForecastDay
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