#[non_exhaustive]pub struct SelectColumnBuilder { /* private fields */ }
Expand description
A builder for SelectColumn
.
Implementations§
source§impl SelectColumnBuilder
impl SelectColumnBuilder
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn get_type(&self) -> &Option<Type>
pub fn get_type(&self) -> &Option<Type>
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Database that has this column.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Database that has this column.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
Database that has this column.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Table within the database that has this column.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Table within the database that has this column.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
Table within the database that has this column.
sourcepub fn aliased(self, input: bool) -> Self
pub fn aliased(self, input: bool) -> Self
True, if the column name was aliased by the query. False otherwise.
sourcepub fn set_aliased(self, input: Option<bool>) -> Self
pub fn set_aliased(self, input: Option<bool>) -> Self
True, if the column name was aliased by the query. False otherwise.
sourcepub fn get_aliased(&self) -> &Option<bool>
pub fn get_aliased(&self) -> &Option<bool>
True, if the column name was aliased by the query. False otherwise.
sourcepub fn build(self) -> SelectColumn
pub fn build(self) -> SelectColumn
Consumes the builder and constructs a SelectColumn
.
Trait Implementations§
source§impl Clone for SelectColumnBuilder
impl Clone for SelectColumnBuilder
source§fn clone(&self) -> SelectColumnBuilder
fn clone(&self) -> SelectColumnBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SelectColumnBuilder
impl Debug for SelectColumnBuilder
source§impl Default for SelectColumnBuilder
impl Default for SelectColumnBuilder
source§fn default() -> SelectColumnBuilder
fn default() -> SelectColumnBuilder
source§impl PartialEq for SelectColumnBuilder
impl PartialEq for SelectColumnBuilder
source§fn eq(&self, other: &SelectColumnBuilder) -> bool
fn eq(&self, other: &SelectColumnBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelectColumnBuilder
Auto Trait Implementations§
impl Freeze for SelectColumnBuilder
impl RefUnwindSafe for SelectColumnBuilder
impl Send for SelectColumnBuilder
impl Sync for SelectColumnBuilder
impl Unpin for SelectColumnBuilder
impl UnwindSafe for SelectColumnBuilder
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
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)
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>
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>
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 more