Struct aws_sdk_forecastquery::model::Forecast
source · [−]#[non_exhaustive]pub struct Forecast { /* private fields */ }Expand description
Provides information about a forecast. Returned as part of the QueryForecast response.
Implementations
sourceimpl Forecast
impl Forecast
sourcepub fn predictions(&self) -> Option<&HashMap<String, Vec<DataPoint>>>
pub fn predictions(&self) -> Option<&HashMap<String, Vec<DataPoint>>>
The forecast.
The string of the string-to-array map is one of the following values:
-
p10
-
p50
-
p90
The default setting is ["0.1", "0.5", "0.9"]. Use the optional ForecastTypes parameter of the CreateForecast operation to change the values. The values will vary depending on how this is set, with a minimum of 1 and a maximum of 5.
Trait Implementations
sourceimpl PartialEq<Forecast> for Forecast
impl PartialEq<Forecast> for Forecast
impl StructuralPartialEq for Forecast
Auto Trait Implementations
impl RefUnwindSafe for Forecast
impl Send for Forecast
impl Sync for Forecast
impl Unpin for Forecast
impl UnwindSafe for Forecast
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more