#[non_exhaustive]pub struct UnaggregatedFieldBuilder { /* private fields */ }Expand description
A builder for UnaggregatedField.
Implementations§
source§impl UnaggregatedFieldBuilder
impl UnaggregatedFieldBuilder
sourcepub fn field_id(self, input: impl Into<String>) -> Self
pub fn field_id(self, input: impl Into<String>) -> Self
The custom field ID.
This field is required.sourcepub fn set_field_id(self, input: Option<String>) -> Self
pub fn set_field_id(self, input: Option<String>) -> Self
The custom field ID.
sourcepub fn get_field_id(&self) -> &Option<String>
pub fn get_field_id(&self) -> &Option<String>
The custom field ID.
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The column that is used in the UnaggregatedField.
sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column that is used in the UnaggregatedField.
sourcepub fn get_column(&self) -> &Option<ColumnIdentifier>
pub fn get_column(&self) -> &Option<ColumnIdentifier>
The column that is used in the UnaggregatedField.
sourcepub fn format_configuration(self, input: FormatConfiguration) -> Self
pub fn format_configuration(self, input: FormatConfiguration) -> Self
The format configuration of the field.
sourcepub fn set_format_configuration(
self,
input: Option<FormatConfiguration>
) -> Self
pub fn set_format_configuration( self, input: Option<FormatConfiguration> ) -> Self
The format configuration of the field.
sourcepub fn get_format_configuration(&self) -> &Option<FormatConfiguration>
pub fn get_format_configuration(&self) -> &Option<FormatConfiguration>
The format configuration of the field.
sourcepub fn build(self) -> Result<UnaggregatedField, BuildError>
pub fn build(self) -> Result<UnaggregatedField, BuildError>
Consumes the builder and constructs a UnaggregatedField.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UnaggregatedFieldBuilder
impl Clone for UnaggregatedFieldBuilder
source§fn clone(&self) -> UnaggregatedFieldBuilder
fn clone(&self) -> UnaggregatedFieldBuilder
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 UnaggregatedFieldBuilder
impl Debug for UnaggregatedFieldBuilder
source§impl Default for UnaggregatedFieldBuilder
impl Default for UnaggregatedFieldBuilder
source§fn default() -> UnaggregatedFieldBuilder
fn default() -> UnaggregatedFieldBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UnaggregatedFieldBuilder
impl PartialEq for UnaggregatedFieldBuilder
source§fn eq(&self, other: &UnaggregatedFieldBuilder) -> bool
fn eq(&self, other: &UnaggregatedFieldBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UnaggregatedFieldBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UnaggregatedFieldBuilder
impl Send for UnaggregatedFieldBuilder
impl Sync for UnaggregatedFieldBuilder
impl Unpin for UnaggregatedFieldBuilder
impl UnwindSafe for UnaggregatedFieldBuilder
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> 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>
Creates a shared type from an unshared type.