#[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 ==
.impl StructuralPartialEq for TimeBasedForecastProperties
Auto Trait Implementations§
impl Freeze for TimeBasedForecastProperties
impl RefUnwindSafe for TimeBasedForecastProperties
impl Send for TimeBasedForecastProperties
impl Sync for TimeBasedForecastProperties
impl Unpin for TimeBasedForecastProperties
impl UnwindSafe for TimeBasedForecastProperties
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> 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