#[non_exhaustive]pub struct DataFieldSeriesItemBuilder { /* private fields */ }Expand description
A builder for DataFieldSeriesItem.
Implementations§
source§impl DataFieldSeriesItemBuilder
impl DataFieldSeriesItemBuilder
sourcepub fn field_id(self, input: impl Into<String>) -> Self
pub fn field_id(self, input: impl Into<String>) -> Self
The field ID of the field that you are setting the axis binding to.
This field is required.sourcepub fn set_field_id(self, input: Option<String>) -> Self
pub fn set_field_id(self, input: Option<String>) -> Self
The field ID of the field that you are setting the axis binding to.
sourcepub fn get_field_id(&self) -> &Option<String>
pub fn get_field_id(&self) -> &Option<String>
The field ID of the field that you are setting the axis binding to.
sourcepub fn field_value(self, input: impl Into<String>) -> Self
pub fn field_value(self, input: impl Into<String>) -> Self
The field value of the field that you are setting the axis binding to.
sourcepub fn set_field_value(self, input: Option<String>) -> Self
pub fn set_field_value(self, input: Option<String>) -> Self
The field value of the field that you are setting the axis binding to.
sourcepub fn get_field_value(&self) -> &Option<String>
pub fn get_field_value(&self) -> &Option<String>
The field value of the field that you are setting the axis binding to.
sourcepub fn axis_binding(self, input: AxisBinding) -> Self
pub fn axis_binding(self, input: AxisBinding) -> Self
The axis that you are binding the field to.
This field is required.sourcepub fn set_axis_binding(self, input: Option<AxisBinding>) -> Self
pub fn set_axis_binding(self, input: Option<AxisBinding>) -> Self
The axis that you are binding the field to.
sourcepub fn get_axis_binding(&self) -> &Option<AxisBinding>
pub fn get_axis_binding(&self) -> &Option<AxisBinding>
The axis that you are binding the field to.
sourcepub fn settings(self, input: LineChartSeriesSettings) -> Self
pub fn settings(self, input: LineChartSeriesSettings) -> Self
The options that determine the presentation of line series associated to the field.
sourcepub fn set_settings(self, input: Option<LineChartSeriesSettings>) -> Self
pub fn set_settings(self, input: Option<LineChartSeriesSettings>) -> Self
The options that determine the presentation of line series associated to the field.
sourcepub fn get_settings(&self) -> &Option<LineChartSeriesSettings>
pub fn get_settings(&self) -> &Option<LineChartSeriesSettings>
The options that determine the presentation of line series associated to the field.
sourcepub fn build(self) -> Result<DataFieldSeriesItem, BuildError>
pub fn build(self) -> Result<DataFieldSeriesItem, BuildError>
Consumes the builder and constructs a DataFieldSeriesItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataFieldSeriesItemBuilder
impl Clone for DataFieldSeriesItemBuilder
source§fn clone(&self) -> DataFieldSeriesItemBuilder
fn clone(&self) -> DataFieldSeriesItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataFieldSeriesItemBuilder
impl Debug for DataFieldSeriesItemBuilder
source§impl Default for DataFieldSeriesItemBuilder
impl Default for DataFieldSeriesItemBuilder
source§fn default() -> DataFieldSeriesItemBuilder
fn default() -> DataFieldSeriesItemBuilder
source§impl PartialEq for DataFieldSeriesItemBuilder
impl PartialEq for DataFieldSeriesItemBuilder
source§fn eq(&self, other: &DataFieldSeriesItemBuilder) -> bool
fn eq(&self, other: &DataFieldSeriesItemBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataFieldSeriesItemBuilder
Auto Trait Implementations§
impl Freeze for DataFieldSeriesItemBuilder
impl RefUnwindSafe for DataFieldSeriesItemBuilder
impl Send for DataFieldSeriesItemBuilder
impl Sync for DataFieldSeriesItemBuilder
impl Unpin for DataFieldSeriesItemBuilder
impl UnwindSafe for DataFieldSeriesItemBuilder
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