Struct aws_sdk_timestreamquery::types::Type
source · #[non_exhaustive]pub struct Type {
pub scalar_type: Option<ScalarType>,
pub array_column_info: Option<ColumnInfo>,
pub time_series_measure_value_column_info: Option<ColumnInfo>,
pub row_column_info: Option<Vec<ColumnInfo>>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scalar_type: Option<ScalarType>
Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.
array_column_info: Option<ColumnInfo>
Indicates if the column is an array.
time_series_measure_value_column_info: Option<ColumnInfo>
Indicates if the column is a timeseries data type.
row_column_info: Option<Vec<ColumnInfo>>
Indicates if the column is a row.
Implementations§
source§impl Type
impl Type
sourcepub fn scalar_type(&self) -> Option<&ScalarType>
pub fn scalar_type(&self) -> Option<&ScalarType>
Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.
sourcepub fn array_column_info(&self) -> Option<&ColumnInfo>
pub fn array_column_info(&self) -> Option<&ColumnInfo>
Indicates if the column is an array.
sourcepub fn time_series_measure_value_column_info(&self) -> Option<&ColumnInfo>
pub fn time_series_measure_value_column_info(&self) -> Option<&ColumnInfo>
Indicates if the column is a timeseries data type.
sourcepub fn row_column_info(&self) -> Option<&[ColumnInfo]>
pub fn row_column_info(&self) -> Option<&[ColumnInfo]>
Indicates if the column is a row.
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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