#[non_exhaustive]pub struct TimeBasedForecastPropertiesBuilder { /* private fields */ }
Expand description
A builder for TimeBasedForecastProperties
.
Implementations§
source§impl TimeBasedForecastPropertiesBuilder
impl TimeBasedForecastPropertiesBuilder
sourcepub fn periods_forward(self, input: i32) -> Self
pub fn periods_forward(self, input: i32) -> Self
The periods forward setup of a forecast computation.
sourcepub fn set_periods_forward(self, input: Option<i32>) -> Self
pub fn set_periods_forward(self, input: Option<i32>) -> Self
The periods forward setup of a forecast computation.
sourcepub fn get_periods_forward(&self) -> &Option<i32>
pub fn get_periods_forward(&self) -> &Option<i32>
The periods forward setup of a forecast computation.
sourcepub fn periods_backward(self, input: i32) -> Self
pub fn periods_backward(self, input: i32) -> Self
The periods backward setup of a forecast computation.
sourcepub fn set_periods_backward(self, input: Option<i32>) -> Self
pub fn set_periods_backward(self, input: Option<i32>) -> Self
The periods backward setup of a forecast computation.
sourcepub fn get_periods_backward(&self) -> &Option<i32>
pub fn get_periods_backward(&self) -> &Option<i32>
The periods backward setup of a forecast computation.
sourcepub fn upper_boundary(self, input: f64) -> Self
pub fn upper_boundary(self, input: f64) -> Self
The upper boundary setup of a forecast computation.
sourcepub fn set_upper_boundary(self, input: Option<f64>) -> Self
pub fn set_upper_boundary(self, input: Option<f64>) -> Self
The upper boundary setup of a forecast computation.
sourcepub fn get_upper_boundary(&self) -> &Option<f64>
pub fn get_upper_boundary(&self) -> &Option<f64>
The upper boundary setup of a forecast computation.
sourcepub fn lower_boundary(self, input: f64) -> Self
pub fn lower_boundary(self, input: f64) -> Self
The lower boundary setup of a forecast computation.
sourcepub fn set_lower_boundary(self, input: Option<f64>) -> Self
pub fn set_lower_boundary(self, input: Option<f64>) -> Self
The lower boundary setup of a forecast computation.
sourcepub fn get_lower_boundary(&self) -> &Option<f64>
pub fn get_lower_boundary(&self) -> &Option<f64>
The lower boundary setup of a forecast computation.
sourcepub fn prediction_interval(self, input: i32) -> Self
pub fn prediction_interval(self, input: i32) -> Self
The prediction interval setup of a forecast computation.
sourcepub fn set_prediction_interval(self, input: Option<i32>) -> Self
pub fn set_prediction_interval(self, input: Option<i32>) -> Self
The prediction interval setup of a forecast computation.
sourcepub fn get_prediction_interval(&self) -> &Option<i32>
pub fn get_prediction_interval(&self) -> &Option<i32>
The prediction interval setup of a forecast computation.
sourcepub fn seasonality(self, input: i32) -> Self
pub fn seasonality(self, input: i32) -> Self
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.
sourcepub fn set_seasonality(self, input: Option<i32>) -> Self
pub fn set_seasonality(self, input: Option<i32>) -> Self
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.
sourcepub fn get_seasonality(&self) -> &Option<i32>
pub fn get_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.
sourcepub fn build(self) -> TimeBasedForecastProperties
pub fn build(self) -> TimeBasedForecastProperties
Consumes the builder and constructs a TimeBasedForecastProperties
.
Trait Implementations§
source§impl Clone for TimeBasedForecastPropertiesBuilder
impl Clone for TimeBasedForecastPropertiesBuilder
source§fn clone(&self) -> TimeBasedForecastPropertiesBuilder
fn clone(&self) -> TimeBasedForecastPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TimeBasedForecastPropertiesBuilder
impl Default for TimeBasedForecastPropertiesBuilder
source§fn default() -> TimeBasedForecastPropertiesBuilder
fn default() -> TimeBasedForecastPropertiesBuilder
source§impl PartialEq for TimeBasedForecastPropertiesBuilder
impl PartialEq for TimeBasedForecastPropertiesBuilder
source§fn eq(&self, other: &TimeBasedForecastPropertiesBuilder) -> bool
fn eq(&self, other: &TimeBasedForecastPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeBasedForecastPropertiesBuilder
Auto Trait Implementations§
impl Freeze for TimeBasedForecastPropertiesBuilder
impl RefUnwindSafe for TimeBasedForecastPropertiesBuilder
impl Send for TimeBasedForecastPropertiesBuilder
impl Sync for TimeBasedForecastPropertiesBuilder
impl Unpin for TimeBasedForecastPropertiesBuilder
impl UnwindSafe for TimeBasedForecastPropertiesBuilder
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