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