#[non_exhaustive]pub struct ReferenceLineDataConfiguration {
pub static_configuration: Option<ReferenceLineStaticDataConfiguration>,
pub dynamic_configuration: Option<ReferenceLineDynamicDataConfiguration>,
pub axis_binding: Option<AxisBinding>,
pub series_type: Option<ReferenceLineSeriesType>,
}Expand description
The data configuration of the reference line.
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.static_configuration: Option<ReferenceLineStaticDataConfiguration>The static data configuration of the reference line data configuration.
dynamic_configuration: Option<ReferenceLineDynamicDataConfiguration>The dynamic configuration of the reference line data configuration.
axis_binding: Option<AxisBinding>The axis binding type of the reference line. Choose one of the following options:
-
PrimaryY -
SecondaryY
series_type: Option<ReferenceLineSeriesType>The series type of the reference line data configuration. Choose one of the following options:
-
BAR -
LINE
Implementations§
source§impl ReferenceLineDataConfiguration
impl ReferenceLineDataConfiguration
sourcepub fn static_configuration(
&self,
) -> Option<&ReferenceLineStaticDataConfiguration>
pub fn static_configuration( &self, ) -> Option<&ReferenceLineStaticDataConfiguration>
The static data configuration of the reference line data configuration.
sourcepub fn dynamic_configuration(
&self,
) -> Option<&ReferenceLineDynamicDataConfiguration>
pub fn dynamic_configuration( &self, ) -> Option<&ReferenceLineDynamicDataConfiguration>
The dynamic configuration of the reference line data configuration.
sourcepub fn axis_binding(&self) -> Option<&AxisBinding>
pub fn axis_binding(&self) -> Option<&AxisBinding>
The axis binding type of the reference line. Choose one of the following options:
-
PrimaryY -
SecondaryY
sourcepub fn series_type(&self) -> Option<&ReferenceLineSeriesType>
pub fn series_type(&self) -> Option<&ReferenceLineSeriesType>
The series type of the reference line data configuration. Choose one of the following options:
-
BAR -
LINE
source§impl ReferenceLineDataConfiguration
impl ReferenceLineDataConfiguration
sourcepub fn builder() -> ReferenceLineDataConfigurationBuilder
pub fn builder() -> ReferenceLineDataConfigurationBuilder
Creates a new builder-style object to manufacture ReferenceLineDataConfiguration.
Trait Implementations§
source§impl Clone for ReferenceLineDataConfiguration
impl Clone for ReferenceLineDataConfiguration
source§fn clone(&self) -> ReferenceLineDataConfiguration
fn clone(&self) -> ReferenceLineDataConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ReferenceLineDataConfiguration
impl PartialEq for ReferenceLineDataConfiguration
source§fn eq(&self, other: &ReferenceLineDataConfiguration) -> bool
fn eq(&self, other: &ReferenceLineDataConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReferenceLineDataConfiguration
Auto Trait Implementations§
impl Freeze for ReferenceLineDataConfiguration
impl RefUnwindSafe for ReferenceLineDataConfiguration
impl Send for ReferenceLineDataConfiguration
impl Sync for ReferenceLineDataConfiguration
impl Unpin for ReferenceLineDataConfiguration
impl UnwindSafe for ReferenceLineDataConfiguration
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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