Struct aws_sdk_redshiftdata::types::ColumnMetadata
source · #[non_exhaustive]pub struct ColumnMetadata {Show 13 fields
pub is_case_sensitive: bool,
pub is_currency: bool,
pub is_signed: bool,
pub label: Option<String>,
pub name: Option<String>,
pub nullable: i32,
pub precision: i32,
pub scale: i32,
pub schema_name: Option<String>,
pub table_name: Option<String>,
pub type_name: Option<String>,
pub length: i32,
pub column_default: Option<String>,
}Expand description
The properties (metadata) of a column.
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.is_case_sensitive: boolA value that indicates whether the column is case-sensitive.
is_currency: boolA value that indicates whether the column contains currency values.
is_signed: boolA value that indicates whether an integer column is signed.
label: Option<String>The label for the column.
name: Option<String>The name of the column.
nullable: i32A value that indicates whether the column is nullable.
precision: i32The precision value of a decimal number column.
scale: i32The scale value of a decimal number column.
schema_name: Option<String>The name of the schema that contains the table that includes the column.
table_name: Option<String>The name of the table that includes the column.
type_name: Option<String>The database-specific data type of the column.
length: i32The length of the column.
column_default: Option<String>The default value of the column.
Implementations§
source§impl ColumnMetadata
impl ColumnMetadata
sourcepub fn is_case_sensitive(&self) -> bool
pub fn is_case_sensitive(&self) -> bool
A value that indicates whether the column is case-sensitive.
sourcepub fn is_currency(&self) -> bool
pub fn is_currency(&self) -> bool
A value that indicates whether the column contains currency values.
sourcepub fn schema_name(&self) -> Option<&str>
pub fn schema_name(&self) -> Option<&str>
The name of the schema that contains the table that includes the column.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table that includes the column.
sourcepub fn column_default(&self) -> Option<&str>
pub fn column_default(&self) -> Option<&str>
The default value of the column.
source§impl ColumnMetadata
impl ColumnMetadata
sourcepub fn builder() -> ColumnMetadataBuilder
pub fn builder() -> ColumnMetadataBuilder
Creates a new builder-style object to manufacture ColumnMetadata.
Trait Implementations§
source§impl Clone for ColumnMetadata
impl Clone for ColumnMetadata
source§fn clone(&self) -> ColumnMetadata
fn clone(&self) -> ColumnMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ColumnMetadata
impl Debug for ColumnMetadata
source§impl PartialEq for ColumnMetadata
impl PartialEq for ColumnMetadata
source§fn eq(&self, other: &ColumnMetadata) -> bool
fn eq(&self, other: &ColumnMetadata) -> bool
self and other values to be equal, and is used
by ==.