#[non_exhaustive]pub struct MissingDataConfigurationBuilder { /* private fields */ }
Expand description
A builder for MissingDataConfiguration
.
Implementations§
source§impl MissingDataConfigurationBuilder
impl MissingDataConfigurationBuilder
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 get_treatment_option(&self) -> &Option<MissingDataTreatmentOption>
pub fn get_treatment_option(&self) -> &Option<MissingDataTreatmentOption>
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
.
Trait Implementations§
source§impl Clone for MissingDataConfigurationBuilder
impl Clone for MissingDataConfigurationBuilder
source§fn clone(&self) -> MissingDataConfigurationBuilder
fn clone(&self) -> MissingDataConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MissingDataConfigurationBuilder
impl Default for MissingDataConfigurationBuilder
source§fn default() -> MissingDataConfigurationBuilder
fn default() -> MissingDataConfigurationBuilder
source§impl PartialEq for MissingDataConfigurationBuilder
impl PartialEq for MissingDataConfigurationBuilder
source§fn eq(&self, other: &MissingDataConfigurationBuilder) -> bool
fn eq(&self, other: &MissingDataConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MissingDataConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MissingDataConfigurationBuilder
impl RefUnwindSafe for MissingDataConfigurationBuilder
impl Send for MissingDataConfigurationBuilder
impl Sync for MissingDataConfigurationBuilder
impl Unpin for MissingDataConfigurationBuilder
impl UnwindSafe for MissingDataConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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