pub struct DayTemperatureSummary {
pub date: String,
pub low_temperature: f64,
pub high_temperature: f64,
}Expand description
Represents a WeatherKit daily temperature summary.
Fields§
§date: StringMatches the WeatherKit date value.
low_temperature: f64Matches the WeatherKit low temperature value.
high_temperature: f64Matches the WeatherKit high temperature value.
Trait Implementations§
Source§impl Clone for DayTemperatureSummary
impl Clone for DayTemperatureSummary
Source§fn clone(&self) -> DayTemperatureSummary
fn clone(&self) -> DayTemperatureSummary
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 DayTemperatureSummary
impl Debug for DayTemperatureSummary
Source§impl<'de> Deserialize<'de> for DayTemperatureSummary
impl<'de> Deserialize<'de> for DayTemperatureSummary
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
Source§impl PartialEq for DayTemperatureSummary
impl PartialEq for DayTemperatureSummary
Source§fn eq(&self, other: &DayTemperatureSummary) -> bool
fn eq(&self, other: &DayTemperatureSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DayTemperatureSummary
Auto Trait Implementations§
impl Freeze for DayTemperatureSummary
impl RefUnwindSafe for DayTemperatureSummary
impl Send for DayTemperatureSummary
impl Sync for DayTemperatureSummary
impl Unpin for DayTemperatureSummary
impl UnsafeUnpin for DayTemperatureSummary
impl UnwindSafe for DayTemperatureSummary
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