pub struct WeatherReport {
pub location: Location,
pub current: Option<CurrentWeather>,
pub hourly: Vec<HourlyForecast>,
pub daily: Vec<DailyForecast>,
}Expand description
A fully-resolved weather report for a single location.
Fields§
§location: Location§current: Option<CurrentWeather>§hourly: Vec<HourlyForecast>§daily: Vec<DailyForecast>Trait Implementations§
Source§impl Clone for WeatherReport
impl Clone for WeatherReport
Source§fn clone(&self) -> WeatherReport
fn clone(&self) -> WeatherReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WeatherReport
impl RefUnwindSafe for WeatherReport
impl Send for WeatherReport
impl Sync for WeatherReport
impl Unpin for WeatherReport
impl UnsafeUnpin for WeatherReport
impl UnwindSafe for WeatherReport
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