#[non_exhaustive]pub struct DelimitedTextImportOptions {
pub delimiter: String,
pub has_header_row: bool,
pub ignore_empty_rows: bool,
pub data_character_encoding: Option<ImportDataCharacterEncoding>,
}
Expand description
An object that contains the options relating to parsing delimited text as part of an import request.
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: String
The delimiter to use for separating columns in a single row of the input.
has_header_row: bool
Indicates whether the input file has a header row at the top containing the column names.
ignore_empty_rows: bool
A parameter to indicate whether empty rows should be ignored or be included in the import.
data_character_encoding: Option<ImportDataCharacterEncoding>
The encoding of the data in the input file.
Implementations§
source§impl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn delimiter(&self) -> &str
pub fn delimiter(&self) -> &str
The delimiter to use for separating columns in a single row of the input.
sourcepub fn has_header_row(&self) -> bool
pub fn has_header_row(&self) -> bool
Indicates whether the input file has a header row at the top containing the column names.
sourcepub fn ignore_empty_rows(&self) -> bool
pub fn ignore_empty_rows(&self) -> bool
A parameter to indicate whether empty rows should be ignored or be included in the import.
sourcepub fn data_character_encoding(&self) -> Option<&ImportDataCharacterEncoding>
pub fn data_character_encoding(&self) -> Option<&ImportDataCharacterEncoding>
The encoding of the data in the input file.
source§impl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn builder() -> DelimitedTextImportOptionsBuilder
pub fn builder() -> DelimitedTextImportOptionsBuilder
Creates a new builder-style object to manufacture DelimitedTextImportOptions
.
Trait Implementations§
source§impl Clone for DelimitedTextImportOptions
impl Clone for DelimitedTextImportOptions
source§fn clone(&self) -> DelimitedTextImportOptions
fn clone(&self) -> DelimitedTextImportOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DelimitedTextImportOptions
impl Debug for DelimitedTextImportOptions
source§impl PartialEq for DelimitedTextImportOptions
impl PartialEq for DelimitedTextImportOptions
source§fn eq(&self, other: &DelimitedTextImportOptions) -> bool
fn eq(&self, other: &DelimitedTextImportOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DelimitedTextImportOptions
Auto Trait Implementations§
impl Freeze for DelimitedTextImportOptions
impl RefUnwindSafe for DelimitedTextImportOptions
impl Send for DelimitedTextImportOptions
impl Sync for DelimitedTextImportOptions
impl Unpin for DelimitedTextImportOptions
impl UnwindSafe for DelimitedTextImportOptions
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> 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