pub struct Builder { /* private fields */ }
Expand description
A builder for MissingDataConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn treatment_option(self, input: MissingDataTreatmentOption) -> Self
pub fn treatment_option(self, input: MissingDataTreatmentOption) -> Self
The treatment option that determines how missing data should be rendered. Choose from the following options:
-
INTERPOLATE
: Interpolate missing values between the prior and the next known value. -
SHOW_AS_ZERO
: Show missing values as the value0
. -
SHOW_AS_BLANK
: Display a blank space when rendering missing data.
sourcepub fn set_treatment_option(
self,
input: Option<MissingDataTreatmentOption>
) -> Self
pub fn set_treatment_option(
self,
input: Option<MissingDataTreatmentOption>
) -> Self
The treatment option that determines how missing data should be rendered. Choose from the following options:
-
INTERPOLATE
: Interpolate missing values between the prior and the next known value. -
SHOW_AS_ZERO
: Show missing values as the value0
. -
SHOW_AS_BLANK
: Display a blank space when rendering missing data.
sourcepub fn build(self) -> MissingDataConfiguration
pub fn build(self) -> MissingDataConfiguration
Consumes the builder and constructs a MissingDataConfiguration
.