#[non_exhaustive]pub struct TimeBasedForecastProperties {
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<i32>,
}
Expand description
The forecast properties setup of a forecast in the line chart.
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.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<i32>
The seasonality setup of a forecast computation. Choose one of the following options:
-
NULL
: The input is set toNULL
. -
NON_NULL
: The input is set to a custom value.
Implementations§
source§impl TimeBasedForecastProperties
impl TimeBasedForecastProperties
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<i32>
pub fn seasonality(&self) -> Option<i32>
The seasonality setup of a forecast computation. Choose one of the following options:
-
NULL
: The input is set toNULL
. -
NON_NULL
: The input is set to a custom value.
source§impl TimeBasedForecastProperties
impl TimeBasedForecastProperties
sourcepub fn builder() -> TimeBasedForecastPropertiesBuilder
pub fn builder() -> TimeBasedForecastPropertiesBuilder
Creates a new builder-style object to manufacture TimeBasedForecastProperties
.
Trait Implementations§
source§impl Clone for TimeBasedForecastProperties
impl Clone for TimeBasedForecastProperties
source§fn clone(&self) -> TimeBasedForecastProperties
fn clone(&self) -> TimeBasedForecastProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeBasedForecastProperties
impl Debug for TimeBasedForecastProperties
source§impl PartialEq for TimeBasedForecastProperties
impl PartialEq for TimeBasedForecastProperties
source§fn eq(&self, other: &TimeBasedForecastProperties) -> bool
fn eq(&self, other: &TimeBasedForecastProperties) -> bool
self
and other
values to be equal, and is used
by ==
.