pub enum DailyWeatherSummaryResult {
Temperature(DailyWeatherSummary<DayTemperatureSummary>),
Precipitation(DailyWeatherSummary<DayPrecipitationSummary>),
}Expand description
Wraps a typed WeatherKit daily summary result.
Variants§
Temperature(DailyWeatherSummary<DayTemperatureSummary>)
Carries the WeatherKit daily temperature summary.
Precipitation(DailyWeatherSummary<DayPrecipitationSummary>)
Carries the WeatherKit daily precipitation summary.
Trait Implementations§
Source§impl Clone for DailyWeatherSummaryResult
impl Clone for DailyWeatherSummaryResult
Source§fn clone(&self) -> DailyWeatherSummaryResult
fn clone(&self) -> DailyWeatherSummaryResult
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 DailyWeatherSummaryResult
impl Debug for DailyWeatherSummaryResult
Source§impl PartialEq for DailyWeatherSummaryResult
impl PartialEq for DailyWeatherSummaryResult
Source§fn eq(&self, other: &DailyWeatherSummaryResult) -> bool
fn eq(&self, other: &DailyWeatherSummaryResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DailyWeatherSummaryResult
Auto Trait Implementations§
impl Freeze for DailyWeatherSummaryResult
impl RefUnwindSafe for DailyWeatherSummaryResult
impl Send for DailyWeatherSummaryResult
impl Sync for DailyWeatherSummaryResult
impl Unpin for DailyWeatherSummaryResult
impl UnsafeUnpin for DailyWeatherSummaryResult
impl UnwindSafe for DailyWeatherSummaryResult
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