#[non_exhaustive]pub struct MissingDataConfiguration {
pub treatment_option: Option<MissingDataTreatmentOption>,
}
Expand description
The configuration options that determine how missing data is treated during the rendering of a 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.treatment_option: 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.
Implementations§
source§impl MissingDataConfiguration
impl MissingDataConfiguration
sourcepub fn treatment_option(&self) -> Option<&MissingDataTreatmentOption>
pub fn 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.
source§impl MissingDataConfiguration
impl MissingDataConfiguration
sourcepub fn builder() -> MissingDataConfigurationBuilder
pub fn builder() -> MissingDataConfigurationBuilder
Creates a new builder-style object to manufacture MissingDataConfiguration
.
Trait Implementations§
source§impl Clone for MissingDataConfiguration
impl Clone for MissingDataConfiguration
source§fn clone(&self) -> MissingDataConfiguration
fn clone(&self) -> MissingDataConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MissingDataConfiguration
impl Debug for MissingDataConfiguration
source§impl PartialEq for MissingDataConfiguration
impl PartialEq for MissingDataConfiguration
impl StructuralPartialEq for MissingDataConfiguration
Auto Trait Implementations§
impl Freeze for MissingDataConfiguration
impl RefUnwindSafe for MissingDataConfiguration
impl Send for MissingDataConfiguration
impl Sync for MissingDataConfiguration
impl Unpin for MissingDataConfiguration
impl UnwindSafe for MissingDataConfiguration
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