#[non_exhaustive]pub struct ColumnDescriptionBuilder { /* private fields */ }Expand description
A builder for ColumnDescription.
Implementations§
source§impl ColumnDescriptionBuilder
impl ColumnDescriptionBuilder
sourcepub fn type(self, input: ColumnType) -> Self
pub fn type(self, input: ColumnType) -> Self
The type of the column description.
sourcepub fn set_type(self, input: Option<ColumnType>) -> Self
pub fn set_type(self, input: Option<ColumnType>) -> Self
The type of the column description.
sourcepub fn get_type(&self) -> &Option<ColumnType>
pub fn get_type(&self) -> &Option<ColumnType>
The type of the column description.
sourcepub fn build(self) -> ColumnDescription
pub fn build(self) -> ColumnDescription
Consumes the builder and constructs a ColumnDescription.
Trait Implementations§
source§impl Clone for ColumnDescriptionBuilder
impl Clone for ColumnDescriptionBuilder
source§fn clone(&self) -> ColumnDescriptionBuilder
fn clone(&self) -> ColumnDescriptionBuilder
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 ColumnDescriptionBuilder
impl Debug for ColumnDescriptionBuilder
source§impl Default for ColumnDescriptionBuilder
impl Default for ColumnDescriptionBuilder
source§fn default() -> ColumnDescriptionBuilder
fn default() -> ColumnDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ColumnDescriptionBuilder
impl PartialEq for ColumnDescriptionBuilder
source§fn eq(&self, other: &ColumnDescriptionBuilder) -> bool
fn eq(&self, other: &ColumnDescriptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ColumnDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ColumnDescriptionBuilder
impl RefUnwindSafe for ColumnDescriptionBuilder
impl Send for ColumnDescriptionBuilder
impl Sync for ColumnDescriptionBuilder
impl Unpin for ColumnDescriptionBuilder
impl UnwindSafe for ColumnDescriptionBuilder
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.