pub struct Forecast {
pub predictions: Option<HashMap<String, Vec<DataPoint>>>,
}
Expand description
Provides information about a forecast. Returned as part of the QueryForecast response.
Fields§
§predictions: Option<HashMap<String, Vec<DataPoint>>>
The forecast.
The string of the string-to-array map is one of the following values:
-
p10
-
p50
-
p90
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Forecast
impl<'de> Deserialize<'de> for Forecast
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 Forecast
Auto Trait Implementations§
impl Freeze for Forecast
impl RefUnwindSafe for Forecast
impl Send for Forecast
impl Sync for Forecast
impl Unpin for Forecast
impl UnwindSafe for Forecast
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