#[non_exhaustive]pub struct AxisLabelReferenceOptionsBuilder { /* private fields */ }Expand description
A builder for AxisLabelReferenceOptions.
Implementations§
source§impl AxisLabelReferenceOptionsBuilder
impl AxisLabelReferenceOptionsBuilder
sourcepub fn field_id(self, input: impl Into<String>) -> Self
pub fn field_id(self, input: impl Into<String>) -> Self
The field that the axis label is targeted 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 that the axis label is targeted to.
sourcepub fn get_field_id(&self) -> &Option<String>
pub fn get_field_id(&self) -> &Option<String>
The field that the axis label is targeted to.
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The column that the axis label is targeted to.
This field is required.sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column that the axis label is targeted to.
sourcepub fn get_column(&self) -> &Option<ColumnIdentifier>
pub fn get_column(&self) -> &Option<ColumnIdentifier>
The column that the axis label is targeted to.
sourcepub fn build(self) -> Result<AxisLabelReferenceOptions, BuildError>
pub fn build(self) -> Result<AxisLabelReferenceOptions, BuildError>
Consumes the builder and constructs a AxisLabelReferenceOptions.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AxisLabelReferenceOptionsBuilder
impl Clone for AxisLabelReferenceOptionsBuilder
source§fn clone(&self) -> AxisLabelReferenceOptionsBuilder
fn clone(&self) -> AxisLabelReferenceOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AxisLabelReferenceOptionsBuilder
impl Default for AxisLabelReferenceOptionsBuilder
source§fn default() -> AxisLabelReferenceOptionsBuilder
fn default() -> AxisLabelReferenceOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AxisLabelReferenceOptionsBuilder
impl PartialEq for AxisLabelReferenceOptionsBuilder
source§fn eq(&self, other: &AxisLabelReferenceOptionsBuilder) -> bool
fn eq(&self, other: &AxisLabelReferenceOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AxisLabelReferenceOptionsBuilder
Auto Trait Implementations§
impl Freeze for AxisLabelReferenceOptionsBuilder
impl RefUnwindSafe for AxisLabelReferenceOptionsBuilder
impl Send for AxisLabelReferenceOptionsBuilder
impl Sync for AxisLabelReferenceOptionsBuilder
impl Unpin for AxisLabelReferenceOptionsBuilder
impl UnwindSafe for AxisLabelReferenceOptionsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.