Struct aws_sdk_timestreamquery::types::ColumnInfo
source · #[non_exhaustive]pub struct ColumnInfo {
pub name: Option<String>,
pub type: Option<Box<Type>>,
}
Expand description
Contains the metadata for query results such as the column names, data types, and other attributes.
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.name: 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.
type: 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.
Implementations§
source§impl ColumnInfo
impl ColumnInfo
source§impl ColumnInfo
impl ColumnInfo
sourcepub fn builder() -> ColumnInfoBuilder
pub fn builder() -> ColumnInfoBuilder
Creates a new builder-style object to manufacture ColumnInfo
.
Trait Implementations§
source§impl Clone for ColumnInfo
impl Clone for ColumnInfo
source§fn clone(&self) -> ColumnInfo
fn clone(&self) -> ColumnInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ColumnInfo
impl Debug for ColumnInfo
source§impl PartialEq<ColumnInfo> for ColumnInfo
impl PartialEq<ColumnInfo> for ColumnInfo
source§fn eq(&self, other: &ColumnInfo) -> bool
fn eq(&self, other: &ColumnInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColumnInfo
Auto Trait Implementations§
impl RefUnwindSafe for ColumnInfo
impl Send for ColumnInfo
impl Sync for ColumnInfo
impl Unpin for ColumnInfo
impl UnwindSafe for ColumnInfo
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