#[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 field options to be configured to a table.
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 field options to be configured to a table.
sourcepub fn get_selected_field_options(&self) -> &Option<Vec<TableFieldOption>>
pub fn get_selected_field_options(&self) -> &Option<Vec<TableFieldOption>>
The field options to be configured to a table.
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 the field IDs that are configured as 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 the field IDs that are configured as 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 the field IDs that are configured as field options for a table visual.
sourcepub fn pinned_field_options(self, input: TablePinnedFieldOptions) -> Self
pub fn pinned_field_options(self, input: TablePinnedFieldOptions) -> Self
The settings for the pinned columns of a table visual.
sourcepub fn set_pinned_field_options(
self,
input: Option<TablePinnedFieldOptions>
) -> Self
pub fn set_pinned_field_options( self, input: Option<TablePinnedFieldOptions> ) -> Self
The settings for the pinned columns of a table visual.
sourcepub fn get_pinned_field_options(&self) -> &Option<TablePinnedFieldOptions>
pub fn get_pinned_field_options(&self) -> &Option<TablePinnedFieldOptions>
The settings for the pinned columns of 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for TableFieldOptionsBuilder
impl PartialEq for TableFieldOptionsBuilder
source§fn eq(&self, other: &TableFieldOptionsBuilder) -> bool
fn eq(&self, other: &TableFieldOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.