Struct aws_sdk_timestreamquery::types::builders::ColumnInfoBuilder
source · #[non_exhaustive]pub struct ColumnInfoBuilder { /* private fields */ }
Expand description
A builder for ColumnInfo
.
Implementations§
source§impl ColumnInfoBuilder
impl ColumnInfoBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn type(self, input: impl Into<Box<Type>>) -> Self
pub fn type(self, input: impl Into<Box<Type>>) -> Self
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
This field is required.sourcepub fn set_type(self, input: Option<Box<Type>>) -> Self
pub fn set_type(self, input: Option<Box<Type>>) -> Self
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
sourcepub fn get_type(&self) -> &Option<Box<Type>>
pub fn get_type(&self) -> &Option<Box<Type>>
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
sourcepub fn build(self) -> ColumnInfo
pub fn build(self) -> ColumnInfo
Consumes the builder and constructs a ColumnInfo
.
Trait Implementations§
source§impl Clone for ColumnInfoBuilder
impl Clone for ColumnInfoBuilder
source§fn clone(&self) -> ColumnInfoBuilder
fn clone(&self) -> ColumnInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnInfoBuilder
impl Debug for ColumnInfoBuilder
source§impl Default for ColumnInfoBuilder
impl Default for ColumnInfoBuilder
source§fn default() -> ColumnInfoBuilder
fn default() -> ColumnInfoBuilder
source§impl PartialEq for ColumnInfoBuilder
impl PartialEq for ColumnInfoBuilder
impl StructuralPartialEq for ColumnInfoBuilder
Auto Trait Implementations§
impl Freeze for ColumnInfoBuilder
impl RefUnwindSafe for ColumnInfoBuilder
impl Send for ColumnInfoBuilder
impl Sync for ColumnInfoBuilder
impl Unpin for ColumnInfoBuilder
impl UnwindSafe for ColumnInfoBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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