Struct aws_sdk_timestreamquery::types::SelectColumn
source · #[non_exhaustive]pub struct SelectColumn {
pub name: Option<String>,
pub type: Option<Type>,
pub database_name: Option<String>,
pub table_name: Option<String>,
pub aliased: Option<bool>,
}
Expand description
Details of the column that is returned by the query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
Name of the column.
type: 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.
database_name: Option<String>
Database that has this column.
table_name: Option<String>
Table within the database that has this column.
aliased: Option<bool>
True, if the column name was aliased by the query. False otherwise.
Implementations§
source§impl SelectColumn
impl SelectColumn
sourcepub fn type(&self) -> Option<&Type>
pub fn 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) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
Database that has this column.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
Table within the database that has this column.
source§impl SelectColumn
impl SelectColumn
sourcepub fn builder() -> SelectColumnBuilder
pub fn builder() -> SelectColumnBuilder
Creates a new builder-style object to manufacture SelectColumn
.
Trait Implementations§
source§impl Clone for SelectColumn
impl Clone for SelectColumn
source§fn clone(&self) -> SelectColumn
fn clone(&self) -> SelectColumn
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SelectColumn
impl Debug for SelectColumn
source§impl PartialEq for SelectColumn
impl PartialEq for SelectColumn
source§fn eq(&self, other: &SelectColumn) -> bool
fn eq(&self, other: &SelectColumn) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelectColumn
Auto Trait Implementations§
impl Freeze for SelectColumn
impl RefUnwindSafe for SelectColumn
impl Send for SelectColumn
impl Sync for SelectColumn
impl Unpin for SelectColumn
impl UnwindSafe for SelectColumn
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