#[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 ==.