#[non_exhaustive]pub struct ColumnConfigurationBuilder { /* private fields */ }
Expand description
A builder for ColumnConfiguration
.
Implementations§
source§impl ColumnConfigurationBuilder
impl ColumnConfigurationBuilder
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The column.
sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column.
sourcepub fn format_configuration(self, input: FormatConfiguration) -> Self
pub fn format_configuration(self, input: FormatConfiguration) -> Self
The format configuration of a column.
sourcepub fn set_format_configuration(
self,
input: Option<FormatConfiguration>
) -> Self
pub fn set_format_configuration( self, input: Option<FormatConfiguration> ) -> Self
The format configuration of a column.
sourcepub fn role(self, input: ColumnRole) -> Self
pub fn role(self, input: ColumnRole) -> Self
The role of the column.
sourcepub fn set_role(self, input: Option<ColumnRole>) -> Self
pub fn set_role(self, input: Option<ColumnRole>) -> Self
The role of the column.
sourcepub fn build(self) -> ColumnConfiguration
pub fn build(self) -> ColumnConfiguration
Consumes the builder and constructs a ColumnConfiguration
.
Trait Implementations§
source§impl Clone for ColumnConfigurationBuilder
impl Clone for ColumnConfigurationBuilder
source§fn clone(&self) -> ColumnConfigurationBuilder
fn clone(&self) -> ColumnConfigurationBuilder
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 ColumnConfigurationBuilder
impl Debug for ColumnConfigurationBuilder
source§impl Default for ColumnConfigurationBuilder
impl Default for ColumnConfigurationBuilder
source§fn default() -> ColumnConfigurationBuilder
fn default() -> ColumnConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ColumnConfigurationBuilder> for ColumnConfigurationBuilder
impl PartialEq<ColumnConfigurationBuilder> for ColumnConfigurationBuilder
source§fn eq(&self, other: &ColumnConfigurationBuilder) -> bool
fn eq(&self, other: &ColumnConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.