#[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 ==
.impl StructuralPartialEq for TableFieldOptionsBuilder
Auto Trait Implementations§
impl Freeze for TableFieldOptionsBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more