#[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
source§fn eq(&self, other: &MissingDataConfiguration) -> bool
fn eq(&self, other: &MissingDataConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.