Struct aws_sdk_rdsdata::types::ColumnMetadata
source · #[non_exhaustive]pub struct ColumnMetadata {Show 14 fields
pub name: Option<String>,
pub type: i32,
pub type_name: Option<String>,
pub label: Option<String>,
pub schema_name: Option<String>,
pub table_name: Option<String>,
pub is_auto_increment: bool,
pub is_signed: bool,
pub is_currency: bool,
pub is_case_sensitive: bool,
pub nullable: i32,
pub precision: i32,
pub scale: i32,
pub array_base_column_type: i32,
}Expand description
Contains the metadata for 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.name: Option<String>The name of the column.
type: i32The type of the column.
type_name: Option<String>The database-specific data type of the column.
label: Option<String>The label for the column.
schema_name: Option<String>The name of the schema that owns the table that includes the column.
table_name: Option<String>The name of the table that includes the column.
is_auto_increment: boolA value that indicates whether the column increments automatically.
is_signed: boolA value that indicates whether an integer column is signed.
is_currency: boolA value that indicates whether the column contains currency values.
is_case_sensitive: boolA value that indicates whether the column is case-sensitive.
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.
array_base_column_type: i32The type of the column.
Implementations§
source§impl ColumnMetadata
impl ColumnMetadata
sourcepub fn schema_name(&self) -> Option<&str>
pub fn schema_name(&self) -> Option<&str>
The name of the schema that owns 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 is_auto_increment(&self) -> bool
pub fn is_auto_increment(&self) -> bool
A value that indicates whether the column increments automatically.
sourcepub fn is_currency(&self) -> bool
pub fn is_currency(&self) -> bool
A value that indicates whether the column contains currency values.
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 array_base_column_type(&self) -> i32
pub fn array_base_column_type(&self) -> i32
The type 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 ==.