Struct aws_sdk_dynamodb::types::CsvOptions
source · #[non_exhaustive]pub struct CsvOptions {
pub delimiter: Option<String>,
pub header_list: Option<Vec<String>>,
}
Expand description
Processing options for the CSV file being imported.
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.delimiter: Option<String>
The delimiter used for separating items in the CSV file being imported.
header_list: Option<Vec<String>>
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
Implementations§
source§impl CsvOptions
impl CsvOptions
sourcepub fn delimiter(&self) -> Option<&str>
pub fn delimiter(&self) -> Option<&str>
The delimiter used for separating items in the CSV file being imported.
sourcepub fn header_list(&self) -> &[String]
pub fn header_list(&self) -> &[String]
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .header_list.is_none()
.
source§impl CsvOptions
impl CsvOptions
sourcepub fn builder() -> CsvOptionsBuilder
pub fn builder() -> CsvOptionsBuilder
Creates a new builder-style object to manufacture CsvOptions
.
Trait Implementations§
source§impl Clone for CsvOptions
impl Clone for CsvOptions
source§fn clone(&self) -> CsvOptions
fn clone(&self) -> CsvOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CsvOptions
impl Debug for CsvOptions
source§impl PartialEq for CsvOptions
impl PartialEq for CsvOptions
source§fn eq(&self, other: &CsvOptions) -> bool
fn eq(&self, other: &CsvOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CsvOptions
Auto Trait Implementations§
impl Freeze for CsvOptions
impl RefUnwindSafe for CsvOptions
impl Send for CsvOptions
impl Sync for CsvOptions
impl Unpin for CsvOptions
impl UnwindSafe for CsvOptions
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
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)
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>
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>
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 more