#[non_exhaustive]pub struct TableFieldOptionsBuilder { /* private fields */ }Expand description
A builder for TableFieldOptions.
Implementations§
source§impl TableFieldOptionsBuilder
impl TableFieldOptionsBuilder
sourcepub fn selected_field_options(self, input: TableFieldOption) -> Self
pub fn selected_field_options(self, input: TableFieldOption) -> Self
Appends an item to selected_field_options.
To override the contents of this collection use set_selected_field_options.
The selected field options for the table field options.
sourcepub fn set_selected_field_options(
self,
input: Option<Vec<TableFieldOption>>
) -> Self
pub fn set_selected_field_options( self, input: Option<Vec<TableFieldOption>> ) -> Self
The selected field options for the table field options.
sourcepub fn get_selected_field_options(&self) -> &Option<Vec<TableFieldOption>>
pub fn get_selected_field_options(&self) -> &Option<Vec<TableFieldOption>>
The selected field options for the table field options.
sourcepub fn order(self, input: impl Into<String>) -> Self
pub fn order(self, input: impl Into<String>) -> Self
Appends an item to order.
To override the contents of this collection use set_order.
The order of field IDs of the field options for a table visual.
sourcepub fn set_order(self, input: Option<Vec<String>>) -> Self
pub fn set_order(self, input: Option<Vec<String>>) -> Self
The order of field IDs of the field options for a table visual.
sourcepub fn get_order(&self) -> &Option<Vec<String>>
pub fn get_order(&self) -> &Option<Vec<String>>
The order of field IDs of the field options for a table visual.
sourcepub fn build(self) -> TableFieldOptions
pub fn build(self) -> TableFieldOptions
Consumes the builder and constructs a TableFieldOptions.
Trait Implementations§
source§impl Clone for TableFieldOptionsBuilder
impl Clone for TableFieldOptionsBuilder
source§fn clone(&self) -> TableFieldOptionsBuilder
fn clone(&self) -> TableFieldOptionsBuilder
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 Debug for TableFieldOptionsBuilder
impl Debug for TableFieldOptionsBuilder
source§impl Default for TableFieldOptionsBuilder
impl Default for TableFieldOptionsBuilder
source§fn default() -> TableFieldOptionsBuilder
fn default() -> TableFieldOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TableFieldOptionsBuilder> for TableFieldOptionsBuilder
impl PartialEq<TableFieldOptionsBuilder> for TableFieldOptionsBuilder
source§fn eq(&self, other: &TableFieldOptionsBuilder) -> bool
fn eq(&self, other: &TableFieldOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TableFieldOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TableFieldOptionsBuilder
impl Send for TableFieldOptionsBuilder
impl Sync for TableFieldOptionsBuilder
impl Unpin for TableFieldOptionsBuilder
impl UnwindSafe for TableFieldOptionsBuilder
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