pub enum WeatherQueryResult {
CurrentWeather(Box<CurrentWeather>),
MinuteForecast(Option<Box<MinuteForecastCollection>>),
HourlyForecast(Box<HourlyForecast>),
DailyForecast(Box<DailyForecast>),
WeatherAlerts(Vec<WeatherAlert>),
Availability(Box<WeatherAvailability>),
WeatherChanges(Option<Box<WeatherChanges>>),
HistoricalComparisons(Option<Box<HistoricalComparisons>>),
}Variants§
CurrentWeather(Box<CurrentWeather>)
MinuteForecast(Option<Box<MinuteForecastCollection>>)
HourlyForecast(Box<HourlyForecast>)
DailyForecast(Box<DailyForecast>)
WeatherAlerts(Vec<WeatherAlert>)
Availability(Box<WeatherAvailability>)
WeatherChanges(Option<Box<WeatherChanges>>)
HistoricalComparisons(Option<Box<HistoricalComparisons>>)
Trait Implementations§
Source§impl Clone for WeatherQueryResult
impl Clone for WeatherQueryResult
Source§fn clone(&self) -> WeatherQueryResult
fn clone(&self) -> WeatherQueryResult
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 moreSource§impl Debug for WeatherQueryResult
impl Debug for WeatherQueryResult
Source§impl PartialEq for WeatherQueryResult
impl PartialEq for WeatherQueryResult
Source§fn eq(&self, other: &WeatherQueryResult) -> bool
fn eq(&self, other: &WeatherQueryResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeatherQueryResult
Auto Trait Implementations§
impl Freeze for WeatherQueryResult
impl RefUnwindSafe for WeatherQueryResult
impl Send for WeatherQueryResult
impl Sync for WeatherQueryResult
impl Unpin for WeatherQueryResult
impl UnsafeUnpin for WeatherQueryResult
impl UnwindSafe for WeatherQueryResult
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