#[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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.