Struct aws_sdk_quicksight::types::ForecastComputation
source · #[non_exhaustive]pub struct ForecastComputation {
pub computation_id: String,
pub name: Option<String>,
pub time: Option<DimensionField>,
pub value: Option<MeasureField>,
pub periods_forward: Option<i32>,
pub periods_backward: Option<i32>,
pub upper_boundary: Option<f64>,
pub lower_boundary: Option<f64>,
pub prediction_interval: Option<i32>,
pub seasonality: Option<ForecastComputationSeasonality>,
pub custom_seasonality_value: Option<i32>,
}Expand description
The forecast computation configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.computation_id: StringThe ID for a computation.
name: Option<String>The name of a computation.
time: Option<DimensionField>The time field that is used in a computation.
value: Option<MeasureField>The value field that is used in a computation.
periods_forward: Option<i32>The periods forward setup of a forecast computation.
periods_backward: Option<i32>The periods backward setup of a forecast computation.
upper_boundary: Option<f64>The upper boundary setup of a forecast computation.
lower_boundary: Option<f64>The lower boundary setup of a forecast computation.
prediction_interval: Option<i32>The prediction interval setup of a forecast computation.
seasonality: Option<ForecastComputationSeasonality>The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
custom_seasonality_value: Option<i32>The custom seasonality value setup of a forecast computation.
Implementations§
source§impl ForecastComputation
impl ForecastComputation
sourcepub fn computation_id(&self) -> &str
pub fn computation_id(&self) -> &str
The ID for a computation.
sourcepub fn time(&self) -> Option<&DimensionField>
pub fn time(&self) -> Option<&DimensionField>
The time field that is used in a computation.
sourcepub fn value(&self) -> Option<&MeasureField>
pub fn value(&self) -> Option<&MeasureField>
The value field that is used in a computation.
sourcepub fn periods_forward(&self) -> Option<i32>
pub fn periods_forward(&self) -> Option<i32>
The periods forward setup of a forecast computation.
sourcepub fn periods_backward(&self) -> Option<i32>
pub fn periods_backward(&self) -> Option<i32>
The periods backward setup of a forecast computation.
sourcepub fn upper_boundary(&self) -> Option<f64>
pub fn upper_boundary(&self) -> Option<f64>
The upper boundary setup of a forecast computation.
sourcepub fn lower_boundary(&self) -> Option<f64>
pub fn lower_boundary(&self) -> Option<f64>
The lower boundary setup of a forecast computation.
sourcepub fn prediction_interval(&self) -> Option<i32>
pub fn prediction_interval(&self) -> Option<i32>
The prediction interval setup of a forecast computation.
sourcepub fn seasonality(&self) -> Option<&ForecastComputationSeasonality>
pub fn seasonality(&self) -> Option<&ForecastComputationSeasonality>
The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
sourcepub fn custom_seasonality_value(&self) -> Option<i32>
pub fn custom_seasonality_value(&self) -> Option<i32>
The custom seasonality value setup of a forecast computation.
source§impl ForecastComputation
impl ForecastComputation
sourcepub fn builder() -> ForecastComputationBuilder
pub fn builder() -> ForecastComputationBuilder
Creates a new builder-style object to manufacture ForecastComputation.
Trait Implementations§
source§impl Clone for ForecastComputation
impl Clone for ForecastComputation
source§fn clone(&self) -> ForecastComputation
fn clone(&self) -> ForecastComputation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ForecastComputation
impl Debug for ForecastComputation
source§impl PartialEq for ForecastComputation
impl PartialEq for ForecastComputation
source§fn eq(&self, other: &ForecastComputation) -> bool
fn eq(&self, other: &ForecastComputation) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ForecastComputation
Auto Trait Implementations§
impl Freeze for ForecastComputation
impl RefUnwindSafe for ForecastComputation
impl Send for ForecastComputation
impl Sync for ForecastComputation
impl Unpin for ForecastComputation
impl UnwindSafe for ForecastComputation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more