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 for CsvConfiguration
impl PartialEq for CsvConfiguration
impl StructuralPartialEq for CsvConfiguration
Auto Trait Implementations§
impl Freeze for CsvConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.