#[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.
This field is required.sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column.
sourcepub fn get_column(&self) -> &Option<ColumnIdentifier>
pub fn get_column(&self) -> &Option<ColumnIdentifier>
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 get_format_configuration(&self) -> &Option<FormatConfiguration>
pub fn get_format_configuration(&self) -> &Option<FormatConfiguration>
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 get_role(&self) -> &Option<ColumnRole>
pub fn get_role(&self) -> &Option<ColumnRole>
The role of the column.
sourcepub fn colors_configuration(self, input: ColorsConfiguration) -> Self
pub fn colors_configuration(self, input: ColorsConfiguration) -> Self
The color configurations of the column.
sourcepub fn set_colors_configuration(
self,
input: Option<ColorsConfiguration>,
) -> Self
pub fn set_colors_configuration( self, input: Option<ColorsConfiguration>, ) -> Self
The color configurations of the column.
sourcepub fn get_colors_configuration(&self) -> &Option<ColorsConfiguration>
pub fn get_colors_configuration(&self) -> &Option<ColorsConfiguration>
The color configurations 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 for ColumnConfigurationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for ColumnConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ColumnConfigurationBuilder
impl RefUnwindSafe for ColumnConfigurationBuilder
impl Send for ColumnConfigurationBuilder
impl Sync for ColumnConfigurationBuilder
impl Unpin for ColumnConfigurationBuilder
impl UnwindSafe for ColumnConfigurationBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.