#[non_exhaustive]pub struct CreateColumnsOperationBuilder { /* private fields */ }
Expand description
A builder for CreateColumnsOperation
.
Implementations§
source§impl CreateColumnsOperationBuilder
impl CreateColumnsOperationBuilder
sourcepub fn columns(self, input: CalculatedColumn) -> Self
pub fn columns(self, input: CalculatedColumn) -> Self
Appends an item to columns
.
To override the contents of this collection use set_columns
.
Calculated columns to create.
sourcepub fn set_columns(self, input: Option<Vec<CalculatedColumn>>) -> Self
pub fn set_columns(self, input: Option<Vec<CalculatedColumn>>) -> Self
Calculated columns to create.
sourcepub fn get_columns(&self) -> &Option<Vec<CalculatedColumn>>
pub fn get_columns(&self) -> &Option<Vec<CalculatedColumn>>
Calculated columns to create.
sourcepub fn build(self) -> Result<CreateColumnsOperation, BuildError>
pub fn build(self) -> Result<CreateColumnsOperation, BuildError>
Consumes the builder and constructs a CreateColumnsOperation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateColumnsOperationBuilder
impl Clone for CreateColumnsOperationBuilder
source§fn clone(&self) -> CreateColumnsOperationBuilder
fn clone(&self) -> CreateColumnsOperationBuilder
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 Default for CreateColumnsOperationBuilder
impl Default for CreateColumnsOperationBuilder
source§fn default() -> CreateColumnsOperationBuilder
fn default() -> CreateColumnsOperationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateColumnsOperationBuilder
impl PartialEq for CreateColumnsOperationBuilder
source§fn eq(&self, other: &CreateColumnsOperationBuilder) -> bool
fn eq(&self, other: &CreateColumnsOperationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateColumnsOperationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateColumnsOperationBuilder
impl Send for CreateColumnsOperationBuilder
impl Sync for CreateColumnsOperationBuilder
impl Unpin for CreateColumnsOperationBuilder
impl UnwindSafe for CreateColumnsOperationBuilder
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.