Struct aws_sdk_timestreamwrite::types::CsvConfiguration
source · #[non_exhaustive]pub struct CsvConfiguration {
pub column_separator: Option<String>,
pub escape_char: Option<String>,
pub quote_char: Option<String>,
pub null_value: Option<String>,
pub trim_white_space: Option<bool>,
}
Expand description
A delimited data format where the column separator can be a comma and the record separator is a newline character.
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.column_separator: Option<String>
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
escape_char: Option<String>
Escape character can be one of
quote_char: Option<String>
Can be single quote (') or double quote (").
null_value: Option<String>
Can be blank space (' ').
trim_white_space: Option<bool>
Specifies to trim leading and trailing white space.
Implementations§
source§impl CsvConfiguration
impl CsvConfiguration
sourcepub fn column_separator(&self) -> Option<&str>
pub fn column_separator(&self) -> Option<&str>
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
sourcepub fn escape_char(&self) -> Option<&str>
pub fn escape_char(&self) -> Option<&str>
Escape character can be one of
sourcepub fn quote_char(&self) -> Option<&str>
pub fn quote_char(&self) -> Option<&str>
Can be single quote (') or double quote (").
sourcepub fn null_value(&self) -> Option<&str>
pub fn null_value(&self) -> Option<&str>
Can be blank space (' ').
sourcepub fn trim_white_space(&self) -> Option<bool>
pub fn trim_white_space(&self) -> Option<bool>
Specifies to trim leading and trailing white space.
source§impl CsvConfiguration
impl CsvConfiguration
sourcepub fn builder() -> CsvConfigurationBuilder
pub fn builder() -> CsvConfigurationBuilder
Creates a new builder-style object to manufacture CsvConfiguration
.
Trait Implementations§
source§impl Clone for CsvConfiguration
impl Clone for CsvConfiguration
source§fn clone(&self) -> CsvConfiguration
fn clone(&self) -> CsvConfiguration
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 CsvConfiguration
impl Debug for CsvConfiguration
source§impl PartialEq<CsvConfiguration> for CsvConfiguration
impl PartialEq<CsvConfiguration> for CsvConfiguration
source§fn eq(&self, other: &CsvConfiguration) -> bool
fn eq(&self, other: &CsvConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CsvConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for CsvConfiguration
impl Send for CsvConfiguration
impl Sync for CsvConfiguration
impl Unpin for CsvConfiguration
impl UnwindSafe for CsvConfiguration
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