pub struct DataPoint {
pub timestamp: Option<String>,
pub value: Option<f64>,
}
Expand description
The forecast value for a specific date. Part of the Forecast object.
Fields§
§timestamp: Option<String>
The timestamp of the specific forecast.
value: Option<f64>
The forecast value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataPoint
impl<'de> Deserialize<'de> for DataPoint
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
impl StructuralPartialEq for DataPoint
Auto Trait Implementations§
impl Freeze for DataPoint
impl RefUnwindSafe for DataPoint
impl Send for DataPoint
impl Sync for DataPoint
impl Unpin for DataPoint
impl UnwindSafe for DataPoint
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