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 ==
.