Struct aws_sdk_redshiftdata::model::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
sourceimpl 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.
sourceimpl ColumnMetadata
impl ColumnMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ColumnMetadata
Trait Implementations
sourceimpl Clone for ColumnMetadata
impl Clone for ColumnMetadata
sourcefn clone(&self) -> ColumnMetadata
fn clone(&self) -> ColumnMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ColumnMetadata
impl Debug for ColumnMetadata
sourceimpl PartialEq<ColumnMetadata> for ColumnMetadata
impl PartialEq<ColumnMetadata> for ColumnMetadata
sourcefn eq(&self, other: &ColumnMetadata) -> bool
fn eq(&self, other: &ColumnMetadata) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ColumnMetadata) -> bool
fn ne(&self, other: &ColumnMetadata) -> bool
This method tests for !=.
impl StructuralPartialEq for ColumnMetadata
Auto Trait Implementations
impl RefUnwindSafe for ColumnMetadata
impl Send for ColumnMetadata
impl Sync for ColumnMetadata
impl Unpin for ColumnMetadata
impl UnwindSafe for ColumnMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more